diff --git a/common/src/main/java/me/lucko/luckperms/common/defaults/LogicParser.java b/common/src/main/java/me/lucko/luckperms/common/defaults/LogicParser.java index 73768389..21bf3277 100644 --- a/common/src/main/java/me/lucko/luckperms/common/defaults/LogicParser.java +++ b/common/src/main/java/me/lucko/luckperms/common/defaults/LogicParser.java @@ -33,7 +33,7 @@ import javax.script.ScriptEngine; import javax.script.ScriptEngineManager; public class LogicParser { - private static final ScriptEngine SCRIPT_ENGINE = new ScriptEngineManager().getEngineByName("nashorn"); + private static final ScriptEngine SCRIPT_ENGINE = new ScriptEngineManager(null).getEngineByName("nashorn"); public static boolean parse(String s, PermissionHolder holder, Tristate tristate) throws IllegalArgumentException { try {