Fixed an error the command parser that resulted it in handling commands it did not really handle. Closes #153.

Dieser Commit ist enthalten in:
sk89q 2011-02-23 00:31:49 -08:00
Ursprung b725ade5cf
Commit ccd586ec81

Datei anzeigen

@ -858,7 +858,8 @@ public class WorldEdit {
if (commands.hasCommand(searchCmd)) {
} else if (config.noDoubleSlash && commands.hasCommand("/" + searchCmd)) {
split[0] = "/" + split[0];
} else if (commands.hasCommand(searchCmd.substring(1))) {
} else if (split[0].length() >= 2 && split[0].charAt(0) == '/'
&& commands.hasCommand(searchCmd.substring(1))) {
split[0] = split[0].substring(1);
}