mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-22 01:32:17 +00:00
Make command usage send with the correct label & bump version
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user