File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
src/main/java/ch/njol/skript/conditions/base Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change 77import ch .njol .skript .lang .SkriptParser .ParseResult ;
88import ch .njol .util .Kleenean ;
99import org .bukkit .event .Event ;
10+ import org .jetbrains .annotations .ApiStatus ;
1011import org .jetbrains .annotations .NotNull ;
1112import org .jetbrains .annotations .Nullable ;
12-
13- import java .util .function .Predicate ;
14- import org .jetbrains .annotations .ApiStatus ;
1513import org .skriptlang .skript .registration .SyntaxInfo ;
1614import org .skriptlang .skript .registration .SyntaxRegistry ;
1715import org .skriptlang .skript .util .Priority ;
@@ -206,6 +204,13 @@ protected PropertyType getPropertyType() {
206204 return PropertyType .BE ;
207205 }
208206
207+ /**
208+ * Gets the expression this condition checks a property of.
209+ */
210+ public final Expression <? extends T > getExpr () {
211+ return expr ;
212+ }
213+
209214 /**
210215 * Sets the expression this condition checks a property of. No reference to the expression should be kept.
211216 *
You can’t perform that action at this time.
0 commit comments