ScriptCustomItem:

-Fixed issue where NBT data was not being sent to the client side, caused by latest commit.
This commit is contained in:
Luis C.M committed 2023-05-30 00:56:39 -05:00
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;