Change: Update outdated command usuage line
Change perm node to melonproxy.broadcast remove tebexforward from command usuage (got removed awhile ago but never from that
This commit is contained in:
parent
1c0ee3ad14
commit
7e0e36992d
1 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@ public class MelonProxy {
|
|||
handleStoreBroadcast(source, String.join(" ", Arrays.copyOfRange(args, 1, args.length)));
|
||||
break;
|
||||
default:
|
||||
source.sendMessage(Component.text("Usage: /melonproxy <broadcast|storebroadcast|tebexforward> <args>"));
|
||||
source.sendMessage(Component.text("Usage: /melonproxy <broadcast|storebroadcast> <args>"));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -145,7 +145,7 @@ public class MelonProxy {
|
|||
|
||||
@Override
|
||||
public boolean hasPermission(Invocation invocation) {
|
||||
return invocation.source().hasPermission("melonproxy.use");
|
||||
return invocation.source().hasPermission("melonproxy.broadcast");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue