mojira.dev

mattcaron

Assigned

No issues.

Reported

MCPE-189071 Keepinventory setting reverts to false on server reboot Duplicate

Comments

I do not issue a stop command on the server console before stopping the server.

Note: Full disclosure, I'm running the Linux version, unlike the OP. As reported in other comments, the bug exists in that version too.

@KR_ - if it is intentional that keepinventory turns on and off in a world with cheats enabled when selecting Easy/Peaceful, then why does it report off? Specifically:

  1. Stop server

  2. Set world difficulty to Easy

  3. Start server

  4. At console, do `/gamerule keepinventory`

  5. Console reports `false`.

This would suggest that it is not on, regardless of the difficulty setting.

It also doesn't persist when you bounce the server.

Still broken in 1.21.51.

I can corroborate @RWRmrfrog's report.

Server version is Linux bedrock server 1.21.50.

Every time the server is restarted keepinventory is set to false, regardless of difficulty setting. I tried it on both normal (which is the bug behavior my children observed) and I also tried setting it to Easy based on the release note which stated:

Players will keep their inventory after dying on Easy and Peaceful as we're testing ways to adapt our difficulty levels.

It would make some sense that the new keepinventory logic checks difficulty and sets state based on that at server start, but that seems to not be the case - otherwise, starting the server in Easy mode would set it to true. Further, even if you set it to true while in Easy mode, it still resets to false on server restart.

This appears to be a broader issue of keepinventory not persisting regardless of difficulty setting.