i removed lines
line 123 if queryTileAddThing(v, _pos, 4) == RETURNVALUE_NOERROR or getTileItemById(_pos, t.blockID).uid > 0 then
line 154 elseif queryTileAddThing(v, _pos, 4) == 3 then
and the error stoped. but the bomb did not blow the barrels up correctly.