[2.0.6] Clarify that LuaEntity::mine() destroys items if no inventory given
Posted: Fri Oct 18, 2024 8:40 pm
The description of LuaEntity::mine() states that "The result of mining the entity (the item(s) it produces when mined) will be dropped on the ground if they don't fit into the provided inventory."
The "inventory" parameter is optional. It would be helpful to state that the items will be destroyed if no inventory provided. (Instead of *all* being spilled near the entity that was mined.)
The "inventory" parameter is optional. It would be helpful to state that the items will be destroyed if no inventory provided. (Instead of *all* being spilled near the entity that was mined.)