Added console output and correct script halting to scripted player events. Renamed PlayerScriptContainer to EventScriptContainer.

This commit is contained in:
luisc committed 2021-10-17 16:11:29 -05:00
1 parent a9bce4a3e3
commit c5ed7497c8
9 files changed
+149 -130

No files matched your search

@@ -16,7 +16,6 @@ public class GuiScriptPlayers extends GuiScriptInterface {
public GuiScriptPlayers() {
this.handler = this.script;
//Client.sendData(EnumPacketServer.ScriptPlayerGet, new Object[0]);
Client.sendData(EnumPacketServer.ScriptPlayerGet);
}
@@ -27,7 +26,6 @@ public class GuiScriptPlayers extends GuiScriptInterface {
public void save() {
super.save();
//Client.sendData(EnumPacketServer.ScriptPlayerSave, new Object[]{this.script.writeToNBT(new NBTTagCompound())});
Client.sendData(EnumPacketServer.ScriptPlayerSave, script.writeToNBT(new NBTTagCompound()));
}
}