Got the following message on crash while dragging belts too close to a wall on the edge of a chunk. Smart belt mechanic tried to put underground on other side of wall where we did not own. Reproduced this to verify.
The mod Territory Claim (1.2.2) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event territory_claim::on_built_entity (ID 6)
LuaItemStack API call when LuaItemStack was invalid for read.
stack traceback:
[C]: in function 'index'
__territory_claim/control.lua:352: in function <territory_claim/control.lua:336>