1
0
mirror of git://repo.or.cz/minetest_hbhunger.git synced 2024-11-16 15:20:34 +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
inv:add_item("main", replace_with_item)
else
minetest.add_item(user:getpos(), replace_with_item)
minetest.add_item(user:get_pos(), replace_with_item)
end
end
end