getpos to get_pos

This commit is contained in:
TenPlus1
2017-10-09 15:16:05 +01:00
parent 3b72ac1357
commit 0db8d4b263
5 changed files with 7 additions and 7 deletions

View File

@ -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()