mojira.dev
MC-49865

keepInventory gamerule doesn't apply to Nether and End

It's very simple to reproduce :

  • Do "/gamerule keepInventory true"

  • Go in the Nether or End

  • Use "/kill" command

  • Notice that your inventory is now empty unlike in Overworld

The server I'm playing on is running 1.7.2, maybe it's important.

This is not a very important bug but please, fix it.

Attachments

Comments 6

Add some pictures taken before and after death in the Nether

Unable to reproduce in 14w08a.

My server is running 1.16.2 and still has this issue.

I also just experienced this in 1.16.2. Inventory was restored on respawn when dying inn the Overworld but did not when I died in the Nether. 

Apologies, I didn't realise that gamerules needed to be set in each zone. Once I set the keepInventory to true whilst in the Nether it worked there too. I'll try not to loose too much sleep over the lost materials 😉

Ulroip

(Unassigned)

Unconfirmed

Minecraft 1.7.5

Retrieved