@Override
    public void run() {
        if (!Config.toxicEnabled) return;
        World w = plugin.getServer().getWorld(Config.worldToUse);
        if (w == null) return;
        for (Player p : w.getPlayers()) {
            PConfManager pcm = PConfManager.getPConfManager(p);
            if (!pcm.getBoolean("toxicspray_on", false)) continue;
            if (pcm.getLong("toxicspray_expire", 0L) <= System.currentTimeMillis()) {
                pcm.set("toxicspray_on", false);
                pcm.set("toxicspray_expire", null);
                p.sendMessage(ChatColor.BLUE + "The toxic fumes wear off.");
                continue;
            }
            List<Entity> ents = p.getNearbyEntities(Config.toxicRadius, Config.toxicRadius, Config.toxicRadius);
            for (Entity e : ents) {
                if (e.getType() != EntityType.ZOMBIE) continue;
                Zombie z = (Zombie) e;
                z.damage(z.getMaxHealth() / 2);
            }
        }
    }