@SuppressWarnings("static-access")
    @EventHandler(priority = EventPriority.HIGH)
    public void onPlayerDamage (EntityDamageByEntityEvent event) {
        Random rand = new Random();
        int i = rand.nextInt(200);
        int j = rand.nextInt(200);
        int k = rand.nextInt(200);
        int l = rand.nextInt(200);
        Entity entity = event.getEntity();
        Entity damager = event.getDamager();
        if (entity instanceof Player) {
            if (damager instanceof Zombie) {
                Player player = (Player) entity;
                Zombie wraith = (Zombie) damager;
                if (MMWraith.isWraith(wraith)) {
                    Location location = new Location(plugin.getServer().getWorld("world_nether"), i + 0 - j + 0.5, 63, k + 0 - l + 0.5);
                    location = location.getWorld().getBlockAt(location).getLocation();
                    Location locUnderLoc = location.subtract(0.0D, 1.0D, 0.0D).getBlock().getLocation();
                    player.teleport(location);
                    if (locUnderLoc.getBlock().getType().equals(Material.LAVA)) {
                        locUnderLoc.getBlock().setType(Material.NETHERRACK);
                    } else {
                        return;
                    }
                    plugin.getServer().broadcastMessage(player.getName() + "'s soul was reaped by a Wraith.");
                }
            }
        }
    }