Describe the bug
Running /mw unload world when "world" is the default world of the server, crashes the server.
To Reproduce
Run /mw unload <default-world>.
Expected behavior
MultiWorld should prevent an exception from being thrown by checking if you are trying to unload the default world.
MultiWorld can also properly handle the exception thrown from unloading the world.
Describe the bug
Running
/mw unload worldwhen "world" is the default world of the server, crashes the server.To Reproduce
Run
/mw unload <default-world>.Expected behavior
MultiWorld should prevent an exception from being thrown by checking if you are trying to unload the default world.
MultiWorld can also properly handle the exception thrown from unloading the world.