getpos to get_pos
This commit is contained in:
parent
c421fcc93f
commit
2a0d8b134d
2
igor.lua
2
igor.lua
@ -83,7 +83,7 @@ mobs:register_mob("mobs_npc:igor", {
|
||||
clicker:set_wielded_item(item)
|
||||
end
|
||||
|
||||
local pos = self.object:getpos()
|
||||
local pos = self.object:get_pos()
|
||||
pos.y = pos.y + 0.5
|
||||
|
||||
minetest.add_item(pos, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user