Use correct perm check perm prefix.

https://github.com/BentoBoxWorld/Limits/issues/126
This commit is contained in:
tastybento 2021-03-27 08:39:12 -07:00
parent f525ae80a5
commit 0ae58db8a9
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ public class LimitPanel {
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());