Update permissions to mention the plugin they're from

This commit is contained in:
destro174
2022-01-27 21:09:23 +01:00
parent 831bac1be9
commit 615458adab
8 changed files with 20 additions and 20 deletions
@@ -13,7 +13,7 @@ public class Reload {
public Reload(ProxyServer proxyServer) {
LiteralCommandNode<CommandSource> command = LiteralArgumentBuilder
.<CommandSource>literal("reloadchat")
.requires(ctx -> ctx.hasPermission("command.proxy.reloadchat"))
.requires(ctx -> ctx.hasPermission("command.chat.reloadchat"))
.executes(context -> {
VelocityChat.getPlugin().ReloadConfig();
return 1;