3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-12-26 02:50:06 +01:00

Temporarily removed the world command

Issues need to be worked out and investigated.
Dieser Commit ist enthalten in:
MattBDev 2019-09-02 15:41:43 -04:00
Ursprung 46550a076f
Commit c03015adc8

Datei anzeigen

@ -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",