diff options
author | Erik Broes <erikbroes@grum.nl> | 2012-01-12 19:43:34 +0100 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2012-01-12 19:43:34 +0100 |
commit | 7d0e739f96d51197e8f7dd5acd7b950b2f598670 (patch) | |
tree | 0b2332a04109adc25091cf92fbe9531a0872edfd /src/main/java/net/minecraft/server/World.java | |
parent | 897551e39e0e24812acc0704e963d347dfa4a8ef (diff) | |
download | craftbukkit-7d0e739f96d51197e8f7dd5acd7b950b2f598670.tar craftbukkit-7d0e739f96d51197e8f7dd5acd7b950b2f598670.tar.gz craftbukkit-7d0e739f96d51197e8f7dd5acd7b950b2f598670.tar.lz craftbukkit-7d0e739f96d51197e8f7dd5acd7b950b2f598670.tar.xz craftbukkit-7d0e739f96d51197e8f7dd5acd7b950b2f598670.zip |
Fix balance of CraftBukkit start/end.
Diffstat (limited to 'src/main/java/net/minecraft/server/World.java')
-rw-r--r-- | src/main/java/net/minecraft/server/World.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java index f45457ad..e3f1573a 100644 --- a/src/main/java/net/minecraft/server/World.java +++ b/src/main/java/net/minecraft/server/World.java @@ -2421,11 +2421,9 @@ public class World implements IBlockAccess { Entity entity = null; for (int i = 0; i < list.size(); ++i) { entity = (Entity) list.get(i); - // CraftBukkit start - fixed an NPE if (entity == null) { continue; } - // CraftBukkit end this.entityList.add(entity); // CraftBukkit end this.c((Entity) list.get(i)); |