Hello.
I'm encountering some problems with GUI and Containers.
Basically, my problem is that when I want to get some items from my inventory and put them wherever I want in the TileEntity or I want to move it inside my inventory strange things happen.
A simple example:
I have an item on ther fourth slot of my player inventory, I press that slot to move the item, and the as I do that the item return to the slot. I can't pick it in any way. But, if I have an item in the sixteenth slot, as I press the slot I get another item of 8 slots before, and when I place it down it behaves strangely.
I think it's caused by some wrong communication between the local server and the client, but I don't know what is wrong.
Some code:
Well, I have no idea of what I'm missing...
Thank you.