File tree Expand file tree Collapse file tree
src/main/java/ch/njol/skript/expressions Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88import ch .njol .skript .lang .Expression ;
99import ch .njol .skript .lang .ExpressionType ;
1010import ch .njol .skript .lang .Literal ;
11- import ch .njol .skript .lang .simplification .SimplifiedLiteral ;
1211import ch .njol .skript .lang .SkriptParser ;
12+ import ch .njol .skript .lang .simplification .SimplifiedLiteral ;
1313import ch .njol .skript .lang .util .SimpleExpression ;
1414import ch .njol .skript .util .LiteralUtils ;
1515import ch .njol .skript .util .Utils ;
1616import ch .njol .util .Kleenean ;
1717import org .bukkit .event .Event ;
18- import org .jetbrains .annotations .Nullable ;
1918
2019import java .util .Arrays ;
2120import java .util .Collections ;
@@ -81,7 +80,7 @@ public Class<?>[] possibleReturnTypes() {
8180 }
8281
8382 @ Override
84- public Expression <? extends T > simplify () {
83+ public Expression <?> simplify () {
8584 if (values instanceof Literal <Object > literal
8685 && (defaultValues instanceof Literal <Object > || literal .getAll ().length > 0 ))
8786 return SimplifiedLiteral .fromExpression (this );
You can’t perform that action at this time.
0 commit comments