Skip to content

Commit

Permalink
Fix #860
Browse files Browse the repository at this point in the history
Signed-off-by: Ross Allan <rallanpcl@gmail.com>
  • Loading branch information
LunNova committed Jul 8, 2013
1 parent 8d70d90 commit da67b3d
Showing 1 changed file with 3 additions and 4 deletions.
Expand Up @@ -198,7 +198,7 @@ private boolean noUpdateRequired() {
return true;
}
if (chunk.partiallyUnloaded) {
Log.severe("Chunk for " + this + " has been unloaded without removing the PlayerInstance");
this.loaded = false;
this.chunk = null;
myManager.getWorldServer().theChunkProviderServer.getChunkAt(chunkLocation.chunkXPos, chunkLocation.chunkZPos, new LoadRunnable(this));
return true;
Expand All @@ -222,8 +222,8 @@ public boolean shouldPostPone(boolean squash, int currentTick) {

@Override
public void sendChunkUpdate() {
watched = false;
if (noUpdateRequired()) {
clearTileCount();
return;
}
sentUpdates++;
Expand Down Expand Up @@ -258,8 +258,7 @@ public void sendChunkUpdate() {
}
}

this.numberOfTilesToUpdate = 0;
this.field_73260_f = 0;
clearTileCount();
}
}
}
Expand Down

0 comments on commit da67b3d

Please sign in to comment.