Allow unloading all worlds except the main one

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2017-12-16 10:19:00 +11:00
parent dfa7c9eedb
commit f6d4eae5c3

View file

@ -945,7 +945,7 @@ public final class CraftServer implements Server {
return false;
}
if (!(handle.dimension > 1)) {
if (handle.dimension == 0) {
return false;
}