mojira.dev

HaecEsneLegas

Assigned

No issues.

Reported

MC-111467 Inventory cleared when keepInventory gamerule is switched to false Won't Fix

Comments

Not sure if this happens for anyone else, but in my custom void dimension it rains straight through the structures I've built. It's raining inside, lol. The only way to stop it is to run "/weather clear" but in the overworld. 

-version 1.18

Yes, that would be fine. I regularly check this particular bug. If you need anything further I'll ensure im available.

@Marcono1234 IF you need me to, I can also create a test world that you can use to reproduce the error. I am following this report for updates as this issue directly affects a server I run and is a very annoying glitch to deal with.

-edit: Tried to Tag the MOD correctly. Doesn't seem to let me. I'm still new to using this system.

If needed I can pull versions and compile a list of affected versions. This has been an ongoing issue though. As previously commented by myself and others:

1.11, 16w50a, 1.11.2, 1.13.1, 1.13.2-pre2, 1.14, 1.14.1, 1.14.4, 1.15 & All 1.16 current snapshots.

The steps to reproduce this are still accurate. IF a player dies or is already on the "dead" screen when the gamerule is changed, all items in the player's inventory are deleted.

A workaround to this was added in a more recent version when the gamerule for {{doImmediateRespawn}}‌ was added. This allows you to first force all dead players to respawn... and then change the gamerule. That way no player's inventory is deleted. (Only dead players have their inventory deleted) 

Still happening in 1.14.4

Still present in Minecraft 1.14.1

Confirmed for 1.14.1 pre 1

Expected outcome was for items to drop at the player's death location once the gamerule was changed. Or at least for the player to keep the items currently in their inventory on respawn and lose items on their next death. As of 1.14 items are still deleted.

*Can we perhaps move this gamerule into the /teams modifiers?
/team modify exampleTeam keepInventory <true/false>