Made constant BlockPos calculateLogBaseTwo calculation explicit, enabled player events by default.

This commit is contained in:
luisc committed 2021-10-12 04:20:33 -05:00
1 parent 699182f4c0
commit 047552d9e5
7 files changed
+12 -30

No files matched your search

@@ -16,7 +16,8 @@ public class GuiScriptPlayers extends GuiScriptInterface {
public GuiScriptPlayers() {
this.handler = this.script;
Client.sendData(EnumPacketServer.ScriptPlayerGet, new Object[0]);
//Client.sendData(EnumPacketServer.ScriptPlayerGet, new Object[0]);
Client.sendData(EnumPacketServer.ScriptPlayerGet);
}
public void setGuiData(NBTTagCompound compound) {
@@ -26,6 +27,7 @@ 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, new Object[]{this.script.writeToNBT(new NBTTagCompound())});
Client.sendData(EnumPacketServer.ScriptPlayerSave, script.writeToNBT(new NBTTagCompound()));
}
}