diff options
author | md_5 <git@md-5.net> | 2017-12-16 10:19:00 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2017-12-16 10:19:00 +1100 |
commit | 04595908e5ceae3281480a4abab2f2c91cc05a35 (patch) | |
tree | 6b3cc1f2ec5706f72048e2d041f8ca8c274bdfd6 | |
parent | fb4564cc37c37a19a8920025de6bb19dbf852338 (diff) | |
download | craftbukkit-04595908e5ceae3281480a4abab2f2c91cc05a35.tar craftbukkit-04595908e5ceae3281480a4abab2f2c91cc05a35.tar.gz craftbukkit-04595908e5ceae3281480a4abab2f2c91cc05a35.tar.lz craftbukkit-04595908e5ceae3281480a4abab2f2c91cc05a35.tar.xz craftbukkit-04595908e5ceae3281480a4abab2f2c91cc05a35.zip |
Allow unloading all worlds except the main one
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index c0ebdf1a..5bf77e5f 100644 --- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java +++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java @@ -945,7 +945,7 @@ public final class CraftServer implements Server { return false; } - if (!(handle.dimension > 1)) { + if (handle.dimension == 0) { return false; } |