mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-10-30 23:39:33 +01:00
Fix compiling null AssignmentExpressions
This commit is contained in:
parent
6ca9eb13dd
commit
6401480874
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user