Desync when resetting locked framed drawers assigned content
zeroinformatique opened this issue ยท 0 comments
Bug Report
When you lock a framed drawer with the appropriate key, to make sure its content type do remain even after being emptied; if you unlock the drawer, then shift+right-click to force a reset, the server gets desync with all the clients around.
This can lead to many issues when moving items around (client-side only duplication bug, items not really moved, not really in inventory, etc), and players not seeing the same thing.
Expected Behaviour
When unlocking a framed drawer then shift+right-click on it, it should get reset correctly and for all players connected.
Possible Solution
A workaround is to make sure there are still some items in the drawer, unlock it, remove the items, then lock it back again.
If you got into a major desync, the only solution I found was to restart the server.
Steps to Reproduce (for bugs)
- Get multiple players on the server
- Build a framed drawer
- Build a drawer key
- Put an item in a drawer
- Lock the drawer with the key
- Take all the items from the drawer, the item icon still appears since it's locked
- Unlock the drawer with the key
- Shift-right-click on the drawer, it opens the UI, and the icon disappears but only for the active player (other players still see the item icon)
- Put another item in the now "wrongly unlocked" drawer, it disappears from your inventory (but not really, it's still there), and looks like it's in the chest (but it's not).
- All clients are now desync and many issues will appear with the drawers
Client Information
- Modpack Version: 3.1.2 Hotfix 1
- Java Version: 1.8.0_51
- Launcher Used: Twitch
- Memory Allocated: 12gb
- Server/LAN/Single Player: LAN
- Optifine Installed: no
- Shaders Enabled: default stuff
World Information
- Modpack Version world created in: 3.1.2 Hotfix 1
- Additional Content Installed: None
Server Information
- Java Version: 1.8.0_51
- Operating System: Windows 10
- Hoster/Hosting Solution: Fiber-optic 32gb i7 Windows server
- Sponge (Non-Vanilla Forge) Server: ?