mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 03:22:19 +01:00
Teach CraftWorld.spawn how to spawn a Giant
Fixes BUKKIT-235 By: Andrew Ardill <andrew.ardill@gmail.com>
This commit is contained in:
parent
dd1048102f
commit
90baaa255d
1 changed files with 2 additions and 0 deletions
|
@ -750,6 +750,8 @@ public class CraftWorld implements World {
|
|||
entity = new EntityPigZombie(world);
|
||||
} else if (Zombie.class.isAssignableFrom(clazz)) {
|
||||
entity = new EntityZombie(world);
|
||||
} else if (Giant.class.isAssignableFrom(clazz)) {
|
||||
entity = new EntityGiantZombie(world);
|
||||
} else if (Silverfish.class.isAssignableFrom(clazz)) {
|
||||
entity = new EntitySilverfish(world);
|
||||
} else if (Enderman.class.isAssignableFrom(clazz)) {
|
||||
|
|
Loading…
Reference in a new issue