Switch MCPC+ to using unloadChunkRequest - unloadChunk() seems to not clean up properly

This commit is contained in:
Mike Primm 2013-03-17 23:43:11 -05:00
parent bf16d18371
commit bee16ef331
5 changed files with 18 additions and 2 deletions

View file

@ -944,7 +944,7 @@ public class NewMapChunkCache implements MapChunkCache {
* while the actual in-use chunk area for a player where the chunks are managed
* by the MC base server is 21x21 (or about a 160 block radius).
* Also, if we did generate it, need to save it */
w.unloadChunk(chunk.x, chunk.z, false, false);
helper.unloadChunkNoSave(w, chunk.x, chunk.z);
}
else if (isunloadpending) { /* Else, if loaded and unload is pending */
w.unloadChunkRequest(chunk.x, chunk.z); /* Request new unload */