Glowstone-Legacy
Glowstone-Legacy copied to clipboard
Items not lost on death
When doing kill, there is no sound for the killing effect.
After respawning, nothing is shown in your inventory, but if you punch a block afterwards, you will get the stuff back before you died.
Steps to reproduce:
- get a piece of dirt.
- /kill yourself
- get another piece of dirt
- result: two pieces of dirt in inventory.
I think there are a fair few sounds missing, I think I remember reading something about it before. As for the inventory thing, thats just strange...
This probably means that the inventory of the player isn't being reset on death. May also be related to the fact that damage isn't yet fully implemented (I think).
Linking PlayerDeathEvent issues here
I am going to work on this and I was wondering where the code that is run when a player dies is located.
@BigxMac here
Thanks!