fixed command usage display space

This commit is contained in:
Indyuce 2019-09-01 14:45:36 +02:00
parent 8629a45d8f
commit 875a95b412

View File

@ -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);
}
}