Skip to content

Commit

Permalink
Fix priority conflict result
Browse files Browse the repository at this point in the history
  • Loading branch information
T14D3 committed Jan 19, 2025
1 parent 13b7d7a commit bf9db6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/t14d3/zones/PermissionManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public boolean canInteract(Location location, UUID playerUUID, Actions action, S
else if (region.getPriority() == priority) {
Result hasPermission = hasPermission(playerUUID.toString(), action.name(), type, region);
if (hasPermission.equals(Result.FALSE) || result.equals(Result.FALSE)) {
result = hasPermission;
result = Result.FALSE;
priority = region.getPriority();
continue;
}
Expand Down

0 comments on commit bf9db6c

Please sign in to comment.