From fe3d33e55ad482017ceaf1901fb0ea4d374d21de Mon Sep 17 00:00:00 2001 From: Auxilor Date: Sat, 20 Feb 2021 21:06:17 +0000 Subject: [PATCH] Fixed flipping boolean --- .../java/com/willfp/ecoarmor/effects/util/EffectWatcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eco-core/core-plugin/src/main/java/com/willfp/ecoarmor/effects/util/EffectWatcher.java b/eco-core/core-plugin/src/main/java/com/willfp/ecoarmor/effects/util/EffectWatcher.java index 97e3795..eb64696 100644 --- a/eco-core/core-plugin/src/main/java/com/willfp/ecoarmor/effects/util/EffectWatcher.java +++ b/eco-core/core-plugin/src/main/java/com/willfp/ecoarmor/effects/util/EffectWatcher.java @@ -44,7 +44,7 @@ public class EffectWatcher extends PluginDependent implements Listener { enabled = false; } - if (ArmorUtils.areConditionsMet(player)) { + if (!ArmorUtils.areConditionsMet(player)) { enabled = false; } }