diff --git a/src/main/java/ch/njol/skript/conditions/base/PropertyCondition.java b/src/main/java/ch/njol/skript/conditions/base/PropertyCondition.java index 8f56a1f66b6..49b430c6768 100644 --- a/src/main/java/ch/njol/skript/conditions/base/PropertyCondition.java +++ b/src/main/java/ch/njol/skript/conditions/base/PropertyCondition.java @@ -195,11 +195,7 @@ public final boolean check(Event event) { @Override public final boolean test(T value) { - if (isNegated()) { - return !this.check(value); - } else { - return this.check(value); - } + return check(value); } protected abstract String getPropertyName();