Removed MONSTER CreatureType.

By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2012-02-03 02:42:40 -05:00
parent 4cb9c42247
commit 994b74a0fd

View file

@ -277,9 +277,6 @@ public class CraftEventFactory {
type = CreatureType.BLAZE;
} else if (entityliving instanceof EntitySilverfish) {
type = CreatureType.SILVERFISH;
// Supertype of many, last!
} else if (entityliving instanceof EntityMonster) {
type = CreatureType.MONSTER;
}
CreatureSpawnEvent event = new CreatureSpawnEvent(entity, type, entity.getLocation(), spawnReason);