mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 02:34:49 +00:00
ScriptCustomItem:
-Fixed issue where NBT data was not being sent to the client side, caused by latest commit.
This commit is contained in:
1 parent
7c4965d368
commit
1ce5b7b302
5 files changed
+9
-12
No files matched your search
@@ -237,7 +237,7 @@ public class ScriptContainer {
|
||||
if (ConfigScript.ScriptingECMA6 && scriptLanguage.equals("ECMAScript")) {
|
||||
System.setProperty("nashorn.args", "--language=es6");
|
||||
}
|
||||
this.engine = new ScriptEngineManager().getEngineByName(scriptLanguage.toLowerCase());
|
||||
this.engine = ScriptController.Instance.getEngineByName(scriptLanguage.toLowerCase());
|
||||
|
||||
currentScriptLanguage = scriptLanguage;
|
||||
evaluated = false;
|
||||
|
||||
Reference in new issue
Block a user