mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-08-30 16:09:33 +02: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