The code should read:
local item = self:findNearestItem() if item then -- Move to the position of the item. local pos = item.pos local x = pos.x local y = pos.y self:moveXY(x,y) end
Where would one submit a patch for the help included with Thangs ?