3
0

First attempt to fix #141

This commit is contained in:
Prototik
2015-09-03 15:58:51 +07:00
parent 1e51ceeb31
commit 923b9e81a0
4 changed files with 121 additions and 114 deletions

View File

@ -895,7 +895,7 @@
+ entity = entityIterator.next();
+
+ if (entity.markedForRemoval || entity.isDead) {
+ theProfiler.startSection("remove");
+ theProfiler.startSection("remove");
+ int x = entity.chunkCoordX;
+ int y = entity.chunkCoordZ;
+ if (entity.addedToChunk && chunkExists(x, y))