mirror of
git://repo.or.cz/minetest_hbhunger.git
synced 2024-12-23 08:20:20 +01:00
getpos → get_pos
This commit is contained in:
parent
f9f9e577e8
commit
a92747cabc
@ -116,7 +116,7 @@ function hbhunger.item_eat(hunger_change, replace_with_item, poisen, heal, sound
|
|||||||
if inv:room_for_item("main", replace_with_item) then
|
if inv:room_for_item("main", replace_with_item) then
|
||||||
inv:add_item("main", replace_with_item)
|
inv:add_item("main", replace_with_item)
|
||||||
else
|
else
|
||||||
minetest.add_item(user:getpos(), replace_with_item)
|
minetest.add_item(user:get_pos(), replace_with_item)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user