Fix Backpacks Lost With KeepInventoryOn If Disconnect Before Respawn
callmesabs opened this issue ยท 5 comments
Issue Description:
In a server using vanilla "keep inventory on death" mechanics, backpacks disappear after death if disconnected before respawning.
What happens:
On a server with vanilla keep inventory mechanics enabled, after dying, if the server crashes prior to the player being able to respawn, or if the player disconnects intentionally without respawning, the backpack disappears from the backpack "slot" and is never restored.
What you expected to happen:
On a server with vanilla keep inventory mechanics enabled, after dying, disconnect or be disconnected, and then re-connect later. The backpack is returned to the backpack "slot" when the rest of the inventory is restored.
Steps to reproduce (important):
- Wear backpack using configured keybind
- Die
- Do not respawn
- Get disconnected, either intentionally or due to a client crash
- Reconnect
- Respawn
- Attempt to open or remove backpack. Neither works.
...
Affected Versions (Do not use "latest"):
- IronBackpacks: 1.10.2-2.2.17
- Minecraft: 1.10.2
- Forge: 1.10.2-12.18.3.2185
- Other Conflicting Mods (may be irrelevant to your issue): irrelevant
Thank you for the bug report. Know that I am working on this issue, it just is a bit tricky with this particular corner case. It's next up on my list of bugs to squash though, so hopefully it will be taken care of relatively soon.
i'm not sure if i have a related issue, or what's going on:
i've had 2 bags disappear, but i don't know when it happened.
i'm running the Direwolf20 pack, local in single player. no crashes (yet). although sometimes, when i sleep in a bed, the it get's stuck and the player isn't able to leave the bed (the screen where the button "leave bed" is visible, but when you click it, the screen stays ad infinitum). maybe that's related to the OP mentioning "didn't spawn".
MC 1.10.2
Iron Backpacks 2.2.21
let me know if i can help test this any more.