From 04595908e5ceae3281480a4abab2f2c91cc05a35 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 16 Dec 2017 10:19:00 +1100 Subject: [PATCH] Allow unloading all worlds except the main one --- src/main/java/org/bukkit/craftbukkit/CraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java index c0ebdf1a8c..5bf77e5f44 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; }