Closed ProsperCraft closed 5 years ago
I couldn't reproduce this in singleplayer. Could you try to reproduce this in a vanilla forge server? If this is a sponge server issue, please try updating sponge or ask help from them.
Is that still an issue?
The same. https://i.loli.net/2019/01/14/5c3c30837c6fd.png Take anything in your hand and click on the cosmetic armor button. You will be kick from server, Fix it please.
@zlainsama
@zsn741656478 Do you mean pick something up using your cursor in your inventory, and click the button will get you kicked in a sponge server?
You can't access the world from a packet handler due to multithreading. Sponge detects it. Without Sponge you'll get world corruption or random CME.
Thanks for the info. I just tested and confirmed it.
So, the dropping of the items you are working on during gui transfer was a old behavior.
I will make the items stay in the inventory.
@zsn741656478 Do you mean pick something up using your cursor in your inventory, and click the button will get you kicked in a sponge server?
Oh, YES
Hmm, i probably should just use Baubles approach of scheduling the task in main thread.
If you take your hat, and with it in your hand, click on the cosmetic armor button it will kick you from the server with a stacktrace in console.
https://gist.github.com/ProsperCraft/fb0296f788697a976eecaed8255d6fb9
Reproduced here -
https://gist.github.com/ProsperCraft/6b39501a4aa72590b0b1bf9765b2ffa6
My modpack- https://minecraft.curseforge.com/projects/towncraft