forked from Upstream/mmocore
fixed command usage display space
This commit is contained in:
parent
8629a45d8f
commit
875a95b412
@ -22,6 +22,6 @@ public abstract class CommandEnd extends CommandMap {
|
||||
String str = "";
|
||||
for (Parameter param : parameters)
|
||||
str += param.getKey() + " ";
|
||||
return str;
|
||||
return str.isEmpty() ? str : str.substring(0, str.length() - 1);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user