mojira.dev
MC-152996

Items get deleted when the player's inventory is overflowed as a server crashes at max tick time.

I fell asleep with a zombie grinder running, which made my server lag like crazy when I killed them and they dropped their XP. As the XP was flowing into me I went to use an anvil to add an enchanted book to a helmet. The zombie drops filled my inventory, so if I was to exit this UI normally, the helmet and enchanted book would drop to the ground. However, at this point the server crashed because it hit max tick time. Upon restarting the server, the helmet and enchanted book weren't in my inventory, on the ground, or in any of the nearby containers, including the one they had come from moments prior. The zombies didn't grab them either. Running

tp @e[type=item] @p

only gave me eggs, which means they didn't just clip somewhere weird.

I'm my own server admin so I just cheated myself a new helmet to replace the one that got eaten, so that's not the end of the world at least.

Expected behavior would be that the server checks players for "floating" items in UIs or under cursors and drops them if their inventory is full as it hits max tick time and crashes.

I wasn't able to reproduce this by clogging my inventory, putting an item in a UI, and tabbing out to the server console and stopping it. That makes me sure it's either specifically related to crashing or I'm barking up entirely the wrong tree with why those items disappeared. I can try some more in-depth reproductions of this later.

Linked issues

Comments 2

Might relate to MC-1555, MC-122000, and their related bugs.

Thank you for your report!
We're tracking this issue in MC-25488, so this ticket is being resolved and linked as a duplicate.

If you would like to add a vote and any extra information to the main ticket it would be appreciated.

If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automatically! Please report any issues on Discord or Reddit

Megabobster

(Unassigned)

Unconfirmed

Items

Minecraft 1.14.2 Pre-Release 4

Retrieved