mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-17 06:25:11 +00:00
Made constant BlockPos calculateLogBaseTwo calculation explicit, enabled player events by default.
This commit is contained in:
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()));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user