3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-21 05:50:05 +01:00

Removed MONSTER CreatureType.

Dieser Commit ist enthalten in:
EvilSeph 2012-02-03 02:42:40 -05:00
Ursprung 5479a2ca82
Commit 028cbb8fe9

Datei anzeigen

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