Added aliases /asc /desc /j for navigation commands.

Dieser Commit ist enthalten in:
sk89q 2012-08-24 20:00:14 -07:00
Ursprung 3558d65b79
Commit 5a1148d954

Datei anzeigen

@ -19,12 +19,19 @@
package com.sk89q.worldedit.commands; package com.sk89q.worldedit.commands;
import static com.sk89q.minecraft.util.commands.Logging.LogMode.POSITION;
import com.sk89q.minecraft.util.commands.Command; import com.sk89q.minecraft.util.commands.Command;
import com.sk89q.minecraft.util.commands.CommandContext; import com.sk89q.minecraft.util.commands.CommandContext;
import com.sk89q.minecraft.util.commands.CommandPermissions; import com.sk89q.minecraft.util.commands.CommandPermissions;
import com.sk89q.minecraft.util.commands.Logging; import com.sk89q.minecraft.util.commands.Logging;
import static com.sk89q.minecraft.util.commands.Logging.LogMode.*; import com.sk89q.worldedit.EditSession;
import com.sk89q.worldedit.*; import com.sk89q.worldedit.LocalPlayer;
import com.sk89q.worldedit.LocalSession;
import com.sk89q.worldedit.WorldEdit;
import com.sk89q.worldedit.WorldEditException;
import com.sk89q.worldedit.WorldEditPermissionException;
import com.sk89q.worldedit.WorldVector;
/** /**
* Navigation commands. * Navigation commands.
@ -55,7 +62,7 @@ public class NavigationCommands {
} }
@Command( @Command(
aliases = { "ascend" }, aliases = { "ascend", "asc" },
usage = "[# of levels]", usage = "[# of levels]",
desc = "Go up a floor", desc = "Go up a floor",
min = 0, min = 0,
@ -82,7 +89,7 @@ public class NavigationCommands {
} }
@Command( @Command(
aliases = { "descend" }, aliases = { "descend", "desc" },
usage = "[# of floors]", usage = "[# of floors]",
desc = "Go down a floor", desc = "Go down a floor",
min = 0, min = 0,
@ -153,7 +160,7 @@ public class NavigationCommands {
} }
@Command( @Command(
aliases = { "jumpto" }, aliases = { "jumpto", "j" },
usage = "", usage = "",
desc = "Teleport to a location", desc = "Teleport to a location",
min = 0, min = 0,