#537 Remove anvil alias

This commit is contained in:
Jesse Boyd 2017-05-16 14:35:44 +10:00
parent b9c056c879
commit b87008149e
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F
3 changed files with 3 additions and 2 deletions

View File

@ -54,7 +54,7 @@ import java.util.concurrent.TimeUnit;
import static com.google.common.base.Preconditions.checkNotNull;
@Command(aliases = {"anvil", "/anvil"}, desc = "Manipulate billions of blocks: [More Info](https://github.com/boy0001/FastAsyncWorldedit/wiki/Anvil-API)")
@Command(aliases = {"/anvil"}, desc = "Manipulate billions of blocks: [More Info](https://github.com/boy0001/FastAsyncWorldedit/wiki/Anvil-API)")
public class AnvilCommands {
private final WorldEdit worldEdit;

View File

@ -764,6 +764,7 @@ public class UtilityCommands extends MethodCommands {
} else {
group = "Unsorted";
}
group = group.replace("/", "");
group = StringMan.toProperCase(group);
Set<CommandMapping> queue = grouped.get(group);
if (queue == null) {

View File

@ -219,7 +219,7 @@ public final class CommandManager {
methodMap.clear();
dispatcher = graph
.group("anvil", "/anvil")
.group("/anvil")
.describeAs("Anvil command")
.registerMethods(new AnvilCommands(worldEdit)).parent()
.registerMethods(new BiomeCommands(worldEdit))