As title; at a certain point, attempting to pick up chests causes a crash.
Crash message:
Error while running event on_player_mined_item (ID 8)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
ammo-loader/control.lua:489: in function 'clean_chest_cycler'
ammo-loader/control.lua:177: in function <ammo-loader/control.lua:171>
Unfortunately, I'm unsure as to the exact steps for reproducing this. However, it only seems to affect chests that have (or had at some point) ammo in them; an empty chest right next to one that had ammo in it picks up just fine, while the one that has/had ammo causes a crash (regardless of whether it currently has any or not).