mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-15 21:01:24 +01:00
SPIGOT-1976: Never unload in use chunks.
This commit is contained in:
parent
8269b99393
commit
4cd46b242b
@ -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 New Issue
Block a user