From 0ae58db8a9edbfdc214d99e1bf48a496fc31bbf2 Mon Sep 17 00:00:00 2001 From: tastybento Date: Sat, 27 Mar 2021 08:39:12 -0700 Subject: [PATCH] Use correct perm check perm prefix. https://github.com/BentoBoxWorld/Limits/issues/126 --- src/main/java/world/bentobox/limits/commands/LimitPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/world/bentobox/limits/commands/LimitPanel.java b/src/main/java/world/bentobox/limits/commands/LimitPanel.java index 6eb0744..e24d78d 100644 --- a/src/main/java/world/bentobox/limits/commands/LimitPanel.java +++ b/src/main/java/world/bentobox/limits/commands/LimitPanel.java @@ -54,7 +54,7 @@ public void showLimits(GameModeAddon gm, User user, UUID target) { Player targetPlayer = Bukkit.getPlayer(target); if (targetPlayer != null) { // Update perms - addon.getJoinListener().checkPerms(targetPlayer, gm.getPermissionPrefix(), island.getUniqueId(), gm.getDescription().getName()); + addon.getJoinListener().checkPerms(targetPlayer, gm.getPermissionPrefix() + "island.limit.", island.getUniqueId(), gm.getDescription().getName()); } // Get the limits for this island IslandBlockCount ibc = addon.getBlockLimitListener().getIsland(island.getUniqueId());