693a5317ef
Some items, like shulkers or books, can have so much metadata that the corresponding item entity can not be serialized by the Minetest engine. Without this patch, dropping such an item and then moving away crashes Minetest, as it can not serialize the entity with serializeString16() when unloading a map block. The patch resets the overlong metadata of non-serializable item entities. This avoids a crash and makes it possible to retrieve a “sanitized” item without metadata when the mapblock containing the item entity is reloaded. Originally sfan5 guessed the maximum possible item entity serialization size that would not lead to a crash as 65530 bytes, but anon5 calculated it to be actually 65487 bytes. This has been experimentally verified by erlehmann. |
||
---|---|---|
.. | ||
drippingwater | ||
mcl_boats | ||
mcl_burning | ||
mcl_falling_nodes | ||
mcl_item_entity | ||
mcl_minecarts | ||
mcl_mobs | ||
mcl_paintings | ||
mobs_mc | ||
mobs_mc_gameconfig | ||
modpack.conf |