From 9d90839723deb5808df125c6b4b23d6a8156f23d Mon Sep 17 00:00:00 2001 From: Erik Broes Date: Sat, 28 Jan 2012 09:04:16 +0100 Subject: [PATCH] Put statement inside CraftBukkit block --- src/main/java/net/minecraft/server/World.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java index a0d0fc91ea..bae7407552 100644 --- a/src/main/java/net/minecraft/server/World.java +++ b/src/main/java/net/minecraft/server/World.java @@ -865,8 +865,8 @@ public class World implements IBlockAccess { } public boolean addEntity(Entity entity, SpawnReason spawnReason) { // Changed signature, added SpawnReason - // CraftBukkit end if (entity == null) return false; + // CraftBukkit end int i = MathHelper.floor(entity.locX / 16.0D); int j = MathHelper.floor(entity.locZ / 16.0D);