3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-18 12:30:06 +01:00

SPIGOT-4744: Cannot spawn Cat entity

Dieser Commit ist enthalten in:
md_5 2019-04-25 14:59:08 +10:00
Ursprung 76a855c8ce
Commit aed901654b

Datei anzeigen

@ -1357,6 +1357,8 @@ public class CraftWorld implements World {
entity = EntityTypes.WOLF.a(world); entity = EntityTypes.WOLF.a(world);
} else if (Parrot.class.isAssignableFrom(clazz)) { } else if (Parrot.class.isAssignableFrom(clazz)) {
entity = EntityTypes.PARROT.a(world); entity = EntityTypes.PARROT.a(world);
} else if (Cat.class.isAssignableFrom(clazz)) {
entity = EntityTypes.CAT.a(world);
} }
} else if (PigZombie.class.isAssignableFrom(clazz)) { } else if (PigZombie.class.isAssignableFrom(clazz)) {
entity = EntityTypes.ZOMBIE_PIGMAN.a(world); entity = EntityTypes.ZOMBIE_PIGMAN.a(world);
@ -1442,8 +1444,6 @@ public class CraftWorld implements World {
entity = EntityTypes.DOLPHIN.a(world); entity = EntityTypes.DOLPHIN.a(world);
} else if (Ocelot.class.isAssignableFrom(clazz)) { } else if (Ocelot.class.isAssignableFrom(clazz)) {
entity = EntityTypes.OCELOT.a(world); entity = EntityTypes.OCELOT.a(world);
} else if (Cat.class.isAssignableFrom(clazz)) {
entity = EntityTypes.CAT.a(world);
} else if (Ravager.class.isAssignableFrom(clazz)) { } else if (Ravager.class.isAssignableFrom(clazz)) {
entity = EntityTypes.RAVAGER.a(world); entity = EntityTypes.RAVAGER.a(world);
} else if (Panda.class.isAssignableFrom(clazz)) { } else if (Panda.class.isAssignableFrom(clazz)) {