mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Allow unloading all worlds except the main one
This commit is contained in:
1 parent
fb4564cc37
commit
04595908e5
1 file changed
+1
-1
@@ -945,7 +945,7 @@ public final class CraftServer implements Server {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!(handle.dimension > 1)) {
|
||||
if (handle.dimension == 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user