diff options
author | TenPlus1 <kinsellaja@yahoo.com> | 2017-10-09 15:16:05 +0100 |
---|---|---|
committer | TenPlus1 <kinsellaja@yahoo.com> | 2017-10-09 15:16:05 +0100 |
commit | 0db8d4b2639ece8f913079cb6e5499354fb1a0a9 (patch) | |
tree | 88aa769021c0d52612b611f07e430ffee3edc989 /sheep.lua | |
parent | 3b72ac1357dce4ce7bc7f05e3708c5c161abe0f9 (diff) |
getpos to get_pos
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() |