Wearable will disappear when player dies
Philosyang opened this issue · 10 comments
Issue Description:
You lose all of your wearables in your pokecube inventory if you had put them in your pokecube inventory and you die.
What happens:
You lose all of your wearables, they disappear.
What you expected to happen:
You don't lose any of them.
Steps to reproduce:
-
Put a bag, a watch or anything that can be fitted into the pokecube inventory slots.
-
Kill yourself with any method.
-
Your wearables will not exist neither in the pokecube inventory slots nor the PC.
Affected Versions:
- Pokecube AIO: 1.12.2-1.6.17
- Minecraft: 1.12.2
- Forge: 14.23.4.2705
is there anything showing up in logs when this happens for you? also can you send a zip of your config folder, maybe it is something in there that is different from my testing environment
I found the problem.
I made /gamerule keepInventory true for my server (this also applies to singleplayer).
When KeepInventory is true, you kill yourself, then your wearables that were in pokecube inventory slots will no longer exist neither in the pokecube inventory slots nor the PC.
ahh, I see, that gamerule being true must prevent the drops from occuring, the wearables are not saved over when the player dies, so if nothing drops, they disappear
I will look into fixes for this, I suepct I will need to do something differently if that gamerule is on...
this should be fixed in Pokecube AIO: 1.12.2-1.6.18, please test it whenever it is available, and close this issue if it is fixed.
Unfortunately, it didn't work for me.
/gamerule KeepInventory true, /kill, wearables still disappear, and nothing in my PC.