diff options
Diffstat (limited to 'src/main/java/net/minecraft/server/WorldServer.java')
-rw-r--r-- | src/main/java/net/minecraft/server/WorldServer.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/net/minecraft/server/WorldServer.java b/src/main/java/net/minecraft/server/WorldServer.java index f20b51f1..7a29714f 100644 --- a/src/main/java/net/minecraft/server/WorldServer.java +++ b/src/main/java/net/minecraft/server/WorldServer.java @@ -47,9 +47,11 @@ public class WorldServer extends World implements BlockChangeDelegate { } public void a(Entity entity, boolean flag) { - if (!this.D.m && (entity instanceof EntityAnimal || entity instanceof EntityWaterAnimal)) { - entity.q(); - } + // CraftBukkit start -- We prevent spawning in general, so this butching is not needed + //if (!this.D.m && (entity instanceof EntityAnimal || entity instanceof EntityWaterAnimal)) { + // entity.q(); + //} + // CraftBukkit end if (entity.passenger == null || !(entity.passenger instanceof EntityHuman)) { super.a(entity, flag); |