Skip to content

Commit

Permalink
release: 1.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed Sep 20, 2023
1 parent 0e056bf commit 04f88f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pluginVersion=1.3.4
pluginVersion=1.3.5
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public boolean canUse(Player player, Location target) {
private boolean checkPermission(Player player, Location target, ClaimPermission permission) {
PlayerData playerData = GriefPrevention.instance.dataStore.getPlayerData(player.getUniqueId());
Claim claim = GriefPrevention.instance.dataStore.getClaimAt(target, false, playerData.lastClaim);
if (playerData.ignoreClaims) return true;
if (claim == null || playerData.ignoreClaims) return true;

playerData.lastClaim = claim;
return claim.checkPermission(player, permission, null) == null;
Expand Down

0 comments on commit 04f88f4

Please sign in to comment.