mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 11:38:40 +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