mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-27 21:19:00 +01:00
Removed MONSTER CreatureType.
This commit is contained in:
parent
5479a2ca82
commit
028cbb8fe9
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user