mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
SPIGOT-1976: Never unload in use chunks.
By: md_5 <git@md-5.net>
This commit is contained in:
parent
118951667e
commit
75c3223fb3
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ public class CraftWorld implements World {
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean unloadChunk(int x, int z, boolean save, boolean safe) {
|
public boolean unloadChunk(int x, int z, boolean save, boolean safe) {
|
||||||
if (safe && isChunkInUse(x, z)) {
|
if (isChunkInUse(x, z)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue