Temporarily removed the world command

Issues need to be worked out and investigated.
This commit is contained in:
MattBDev 2019-09-02 15:41:43 -04:00
parent 46550a076f
commit c03015adc8

View File

@ -194,20 +194,20 @@ public class GeneralCommands {
} }
} }
@Command( // @Command(
name = "/world", // name = "/world",
desc = "Sets the world override" // desc = "Sets the world override"
) // )
@CommandPermissions("worldedit.world") // @CommandPermissions("worldedit.world")
public void worldOverride(Actor actor, LocalSession session, // public void worldOverride(Actor actor, LocalSession session,
@Arg(desc = "The world override", def = "") World world) { // @Arg(desc = "The world override", def = "") World world) {
session.setWorldOverride(world); // session.setWorldOverride(world);
if (world == null) { // if (world == null) {
actor.print("Removed world override."); // actor.print("Removed world override.");
} else { // } else {
actor.print("Set the world override to " + world.getId() + ". (Use //world to go back to default)"); // actor.print("Set the world override to " + world.getId() + ". (Use //world to go back to default)");
} // }
} // }
@Command( @Command(
name = "gmask", name = "gmask",