Skip to content

Commit

Permalink
Removed outdated permission
Browse files Browse the repository at this point in the history
  • Loading branch information
Foulest committed Dec 4, 2023
1 parent 43890f0 commit 68a7ab3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/foulest/kitpvp/cmds/BalanceCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/foulest/kitpvp/cmds/CombatTagCmd.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
5 changes: 1 addition & 4 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 68a7ab3

Please sign in to comment.