Player, Forge, & NPC script console changes, & further fix to concurrent modification exception on script container.

This commit is contained in:
Luis C.M committed 2023-02-21 12:45:48 -06:00
1 parent 9b330007fd
commit 5b589768f6
11 files changed
+77 -88

No files matched your search

@@ -21,7 +21,6 @@ public class GuiScriptAllNPCs extends GuiScriptInterface {
if (!compound.hasKey("Tab")) {
script.setLanguage(compound.getString("ScriptLanguage"));
script.setEnabled(compound.getBoolean("ScriptEnabled"));
script.setConsoleText(NBTTags.GetLongStringMap(compound.getTagList("ScriptConsole", 10)));
super.setGuiData(compound);
} else {
int tab = compound.getInteger("Tab");