1
0
mirror of git://repo.or.cz/minetest_hbhunger.git synced 2024-12-23 16:30:20 +01:00

getpos → get_pos

This commit is contained in:
Wuzzy 2020-11-04 15:14:31 +01:00
parent f9f9e577e8
commit a92747cabc

View File

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