mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
Fixed an error the command parser that resulted it in handling commands it did not really handle. Closes #153.
This commit is contained in:
parent
b725ade5cf
commit
ccd586ec81
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user