高性能和高兼容性的1.12.2/1.16.5/1.18.2版本Forge+Bukkit+Spigot服务端 (A high performance and high compatibility 1.12.2/1.16.5/1.18.2 version Forge+Bukkit+Spigot server)
Describe the bug
(If there is an error, please attach the pastebin link)
When using the PlayerDeathEvent.setKeepInventory(true) method, the player's inventory is not saved
Expected behavior
The player's inventory must be preserved
To Reproduce
Install the SaveInv plugin, give yourself an OP, die. He will write in the chat that your inventory is saved, but in fact it is not saved
SaveInv.zip
Screenshot/Video
(If it doesn't exist you can ignore it)
Environment
Minecraft version(1.12.2/1.16.5/1.18.2): 1.16.5 Build version(Get from /version command): 1.16.5-589d8617 Mods/Plugins: SaveInv
Describe the bug (If there is an error, please attach the pastebin link) When using the PlayerDeathEvent.setKeepInventory(true) method, the player's inventory is not saved
Expected behavior The player's inventory must be preserved
To Reproduce Install the SaveInv plugin, give yourself an OP, die. He will write in the chat that your inventory is saved, but in fact it is not saved SaveInv.zip
Screenshot/Video (If it doesn't exist you can ignore it)