Make command usage send with the correct label & bump version

This commit is contained in:
Luck committed 2016-07-17 14:44:52 +01:00
1 parent d33a3ffcea
commit 24ff465679
60 files changed
+146 -144

No files matched your search

@@ -51,8 +51,8 @@ public abstract class SubCommand {
return permission.isAuthorized(sender);
}
public void sendUsage(Sender sender) {
Util.sendPluginMessage(sender, "&e-> &d" + getUsage());
public void sendUsage(Sender sender, String label) {
Util.sendPluginMessage(sender, "&e-> &d" + String.format(getUsage(), label));
}
public List<String> onTabComplete(Sender sender, List<String> args, LuckPermsPlugin plugin) {