@EventHandler(priority = EventPriority.NORMAL)
	public void onCreatureSpawn(final CreatureSpawnEvent event) {
		if (plugin.getConfig().getBoolean("ENABLE_BLACKLIST")) {
			World world = event.getLocation().getWorld();
			if (!new File(plugin.getDataFolder() + File.separator + "mobblist",
					world.getName() + ".txt").exists()) {
				plugin.createMobBlacklist(world.getName());
				plugin.getLogger().log(
						Level.INFO,
						"MobBlacklist for " + world.getName()
								+ " has been created.");
			} else {
				String[] mobList = plugin.getMobs(world.getName());
				for (String creature : mobList) {
					EntityType et = EntityType.fromName(creature);
					if(et != null && et.equals(event.getEntityType()))
						event.setCancelled(true);
					/*
					if (creature.equalsIgnoreCase("CaveSpider")) {
						if (event.getEntity() instanceof CaveSpider)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Bat")) {
						if (event.getEntity() instanceof Bat)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Blaze")) {
						if (event.getEntity() instanceof Blaze)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Chicken")) {
						if (event.getEntity() instanceof Chicken)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Cow")) {
						if (event.getEntity() instanceof Cow)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Creeper")) {
						if (event.getEntity() instanceof Creeper)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("EnderDragon")) {
						if (event.getEntity() instanceof EnderDragon)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Enderman")) {
						if (event.getEntity() instanceof Enderman)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Ghast")) {
						if (event.getEntity() instanceof Ghast)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Giant")) {
						if (event.getEntity() instanceof Giant)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Magmacube")) {
						if (event.getEntity() instanceof MagmaCube)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("MushroomCow")) {
						if (event.getEntity() instanceof MushroomCow)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Pig")) {
						if (event.getEntity() instanceof Pig)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("PigZombie")) {
						if (event.getEntity() instanceof PigZombie)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Sheep")) {
						if (event.getEntity() instanceof Sheep)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Silverfish")) {
						if (event.getEntity() instanceof Silverfish)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Skeleton")) {
						if (event.getEntity() instanceof Skeleton)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Slime")) {
						if (event.getEntity() instanceof Slime)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Snowman")) {
						if (event.getEntity() instanceof Snowman)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Spider")) {
						if (event.getEntity() instanceof Spider)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Squid")) {
						if (event.getEntity() instanceof Squid)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Villager")) {
						if (event.getEntity() instanceof Villager)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Wolf")) {
						if (event.getEntity() instanceof Wolf)
							event.setCancelled(true);
					} else if (creature.equalsIgnoreCase("Zombie")) {
						if (event.getEntity() instanceof Zombie)
							event.setCancelled(true);
					}
					*/
				}
			}
		}
	}