You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into a problem while developing mod that depends on trinkets.
Basic mechanics are based on updating players that wearing trinket, and I tried to implement that using onEquip/onUnequip calls.
The bug appears when I try to get trinket out of the slot repeatedly.
Server don't know that player don't have ring in slot after first onUnequip call.
Temporary solution is send a packet from client to server with onUnequip call every time it happens on client side.
Info:
Trinkets version: 3.4.1
Minecraft version: 1.19 (originally I found this bug on 1.19.2)
The text was updated successfully, but these errors were encountered:
MrEluzium
added a commit
to MrEluzium/Linkage
that referenced
this issue
Dec 8, 2022
Now onEquip and onUnequip process only on client due to this issue: emilyploszaj/trinkets#225
Sometimes server misses these events and players stays in available list, although they should be removed
To avoid this, we tell server to update available list every time client get onEquip or onUnequip call
MrEluzium
added a commit
to MrEluzium/Linkage
that referenced
this issue
Dec 11, 2022
Now onEquip and onUnequip process only on client due to this issue: emilyploszaj/trinkets#225
Sometimes server misses these events and players stays in available list, although they should be removed
To avoid this, we tell server to update available list every time client get onEquip or onUnequip call
I ran into a problem while developing mod that depends on trinkets.
Basic mechanics are based on updating players that wearing trinket, and I tried to implement that using onEquip/onUnequip calls.
The bug appears when I try to get trinket out of the slot repeatedly.
Here is reproduction with some debug logging in LivingEntityMixin class and Copper Rings mod by ZeroKun265.
Server don't know that player don't have ring in slot after first onUnequip call.
Temporary solution is send a packet from client to server with onUnequip call every time it happens on client side.
Info:
Trinkets version: 3.4.1
Minecraft version: 1.19 (originally I found this bug on 1.19.2)
The text was updated successfully, but these errors were encountered: