mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-25 06:24:40 +00:00
Fix compiling null AssignmentExpressions
This commit is contained in:
1 file changed
+3
@@ -42,6 +42,9 @@ import javax.script.ScriptEngine;
|
||||
public class AssignmentExpression {
|
||||
|
||||
public static AssignmentExpression compile(String expression) {
|
||||
if (expression == null) {
|
||||
return null;
|
||||
}
|
||||
return new AssignmentExpression(expression);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user