From f84766074e2e0ee1afed871b407c747045442f43 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 4 Jun 2016 03:36:29 +1000 Subject: [PATCH] Fixes #1145 --- .../java/com/plotsquared/bukkit/listeners/PlayerEvents.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java b/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java index 44375583a..f0c05b0f9 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/listeners/PlayerEvents.java @@ -1389,7 +1389,7 @@ public class PlayerEvents extends PlotListener implements Listener { i = 0; } int cap = plot.getFlag(flag, Integer.MAX_VALUE); - if (cap != Integer.MAX_VALUE) { + if (cap == Integer.MAX_VALUE) { continue; } if (mobs == null) {