Skip to content

/mw unload <default-world>` crashes #259

@Swift-Strider

Description

@Swift-Strider

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions