diff options
Diffstat (limited to 'sheep.lua')
-rw-r--r-- | sheep.lua | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -106,7 +106,7 @@ for _, col in ipairs(all_colours) do self.gotten = true -- shaved local obj = minetest.add_item( - self.object:getpos(), + self.object:get_pos(), ItemStack( "wool:" .. col[1] .. " " .. math.random(1, 3) ) ) @@ -147,7 +147,7 @@ for _, col in ipairs(all_colours) do if c[1] == colr then - local pos = self.object:getpos() + local pos = self.object:get_pos() self.object:remove() |