From 68a7ab390712489e2da609029e4c8e08a6f02242 Mon Sep 17 00:00:00 2001 From: Foulest <43710301+Foulest@users.noreply.github.com> Date: Mon, 4 Dec 2023 02:16:16 -0800 Subject: [PATCH] Removed outdated permission --- src/main/java/net/foulest/kitpvp/cmds/BalanceCmd.java | 2 +- src/main/java/net/foulest/kitpvp/cmds/CombatTagCmd.java | 2 +- src/main/resources/plugin.yml | 5 +---- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/main/java/net/foulest/kitpvp/cmds/BalanceCmd.java b/src/main/java/net/foulest/kitpvp/cmds/BalanceCmd.java index eac8eb2..73ea0b7 100644 --- a/src/main/java/net/foulest/kitpvp/cmds/BalanceCmd.java +++ b/src/main/java/net/foulest/kitpvp/cmds/BalanceCmd.java @@ -20,7 +20,7 @@ public class BalanceCmd { @Command(name = "balance", aliases = {"bal", "money", "coins"}, description = "Shows your current balance.", - permission = "kitpvp.balance", usage = "/balance", inGameOnly = true) + permission = "kitpvp.balance", usage = "/balance [player]", inGameOnly = true) public void onCommand(@NonNull CommandArgs args) { Player player = args.getPlayer(); PlayerData playerData = PlayerDataManager.getPlayerData(player); diff --git a/src/main/java/net/foulest/kitpvp/cmds/CombatTagCmd.java b/src/main/java/net/foulest/kitpvp/cmds/CombatTagCmd.java index cdbadd0..5126c04 100644 --- a/src/main/java/net/foulest/kitpvp/cmds/CombatTagCmd.java +++ b/src/main/java/net/foulest/kitpvp/cmds/CombatTagCmd.java @@ -17,7 +17,7 @@ public class CombatTagCmd { @Command(name = "combattag", aliases = {"combatlog", "ct", "combat", "combattime", "combattimer"}, description = "Displays your current combat tag timer.", - permission = "kitpvp.combattag", usage = "/combatlog", inGameOnly = true) + permission = "kitpvp.combattag", usage = "/combattag", inGameOnly = true) public void onCommand(@NonNull CommandArgs args) { Player player = args.getPlayer(); diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 289e12f..2231042 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -50,10 +50,7 @@ permissions: kitpvp.potions: description: Allows players to use potions. default: true - kitpvp.punish: - description: Allows players to punish other players. - default: false - kitpvp.reloadcfg: + kitpvp.reload: description: Allows players to reload the config. default: false kitpvp.setspawn: