diff options
author | md_5 <git@md-5.net> | 2016-03-19 14:40:23 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-19 14:40:23 +1100 |
commit | 4cd46b242beecb828dbe193c9cb913b620e852d1 (patch) | |
tree | c9691e4229d83522e899190b7af31306ff0a9d47 | |
parent | 8269b993936262e845788843889007383a370484 (diff) | |
download | craftbukkit-4cd46b242beecb828dbe193c9cb913b620e852d1.tar craftbukkit-4cd46b242beecb828dbe193c9cb913b620e852d1.tar.gz craftbukkit-4cd46b242beecb828dbe193c9cb913b620e852d1.tar.lz craftbukkit-4cd46b242beecb828dbe193c9cb913b620e852d1.tar.xz craftbukkit-4cd46b242beecb828dbe193c9cb913b620e852d1.zip |
SPIGOT-1976: Never unload in use chunks.
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftWorld.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java index 2c82ecbb..593fd63a 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftWorld.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftWorld.java @@ -179,7 +179,7 @@ public class CraftWorld implements World { } public boolean unloadChunk(int x, int z, boolean save, boolean safe) { - if (safe && isChunkInUse(x, z)) { + if (isChunkInUse(x, z)) { return false; } |