Skip to content

Commit

Permalink
Use correct perm check perm prefix.
Browse files Browse the repository at this point in the history
  • Loading branch information
tastybento committed Mar 27, 2021
1 parent f525ae8 commit 0ae58db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 0ae58db

Please sign in to comment.