From 9587a4f9efbedf199de5279013bb64aa72d4e4da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Sun, 16 Feb 2020 20:05:05 +0100 Subject: [PATCH] Invert liquid-flow flag --- .../plotsquared/bukkit/listeners/PlayerEvents.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/PlayerEvents.java b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/PlayerEvents.java index 22741628d..85a6bcdd4 100644 --- a/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/PlayerEvents.java +++ b/Bukkit/src/main/java/com/github/intellectualsites/plotsquared/bukkit/listeners/PlayerEvents.java @@ -1469,7 +1469,7 @@ import java.util.regex.Pattern; event.setCancelled(true); return; } - if (plot.getFlag(LiquidFlowFlag.class)) { + if (!plot.getFlag(LiquidFlowFlag.class)) { switch (to.getType()) { case WATER: case LAVA: