mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-06 19:09:31 +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 class AssignmentExpression {
|
||||||
|
|
||||||
public static AssignmentExpression compile(String expression) {
|
public static AssignmentExpression compile(String expression) {
|
||||||
|
if (expression == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
return new AssignmentExpression(expression);
|
return new AssignmentExpression(expression);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user