mojira.dev
MCPE-537

Chests do not remove items with invalid item IDs loaded from saves

To reproduce:
1) Make a chest and put something into it
2) hex-edit the entities.dat to change the item ID into something absurd e.g. 55
3) Open the world again, open the chest inventory and try to take something from the invalid item box
4) Crash!

This does not happen with the inventory - any invalid items are automatically removed.

A video by sasuke082594 that demonstrates this issue: http://www.youtube.com/watch?v=Ha2gD9LNqR4

This could also affect worlds moved from one version to another, for example.

Comments 4

Does this still exist in 0.5.0?

Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Confirmed for 0.7.1, Except now it just crashes as soon as you open the chest, or as soon as you break it, you dont even get to see the invisible items to try to grab them.

Cleaning up all the old issues - please reply if this affects 0.9.3.

Zhuowei Zhang

(Unassigned)

Confirmed

Tablet - Android - Other (Specify in description)

crash, item

0.4.0

Retrieved