Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Teach CraftWorld.spawn how to spawn a Giant
Fixes BUKKIT-235
Dieser Commit ist enthalten in:
Ursprung
b2af70e5c7
Commit
d7d48d8229
@ -750,6 +750,8 @@ public class CraftWorld implements World {
|
|||||||
entity = new EntityPigZombie(world);
|
entity = new EntityPigZombie(world);
|
||||||
} else if (Zombie.class.isAssignableFrom(clazz)) {
|
} else if (Zombie.class.isAssignableFrom(clazz)) {
|
||||||
entity = new EntityZombie(world);
|
entity = new EntityZombie(world);
|
||||||
|
} else if (Giant.class.isAssignableFrom(clazz)) {
|
||||||
|
entity = new EntityGiantZombie(world);
|
||||||
} else if (Silverfish.class.isAssignableFrom(clazz)) {
|
} else if (Silverfish.class.isAssignableFrom(clazz)) {
|
||||||
entity = new EntitySilverfish(world);
|
entity = new EntitySilverfish(world);
|
||||||
} else if (Enderman.class.isAssignableFrom(clazz)) {
|
} else if (Enderman.class.isAssignableFrom(clazz)) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren