Ignore this thread.
I am sending a packet through a button click on my guiscreen, but it's not recognizing a specific Boolean variable in my entity class.
With the packet I want to change the value of that variable. And it does edit it successfully, but the GUI is not responding to the change that has been made.
But it does recognize other variables that get changed though :\
packet class:
http://pastebin.com/VRSYvJ6Y
guicontainer class:
http://pastebin.com/nGM7fncZ
System output:
[GuiClayGolem] itemstack = null
[GuiClayGolem] isSetWithNBT() = false // still false, as it should be.
[PacketUpdateClayGolem] entity id = 3
[PacketUpdateClayGolem] dimension id = 0
[PacketUpdateClayGolem] set true
[EntityClayGolem] isSetWithNBT() true // variable has been set to 1 through the packet.
//after encryption
[PacketUpdateClayGolem] entity id = 3
[PacketUpdateClayGolem] dimension id = 0
[PacketUpdateClayGolem] set true
[GuiClayGolem] isSetWithNBT() = false // gui did not recognize any changes to this variable.
[GuiClayGolem] itemstack = 1xitem.bone@0 // yet the gui recognizes an itemstack in my entity's inventory slot.
Do you see any mistakes made on my end?
All comments are welcome.