mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-30 06:24:06 +01:00
Allow unloading all worlds except the main one
This commit is contained in:
parent
fb4564cc37
commit
04595908e5
@ -945,7 +945,7 @@ public final class CraftServer implements Server {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!(handle.dimension > 1)) {
|
if (handle.dimension == 0) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user