Put statement inside CraftBukkit block

This commit is contained in:
Erik Broes 2012-01-28 09:04:16 +01:00
parent bb730f0ee7
commit 9d90839723

View File

@ -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);