mirror of
https://github.com/BentoBoxWorld/Limits.git
synced 2025-02-19 22:03:05 +01:00
Use correct perm check perm prefix.
https://github.com/BentoBoxWorld/Limits/issues/126
This commit is contained in:
parent
f525ae80a5
commit
0ae58db8a9
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user