getpos → get_pos

This commit is contained in:
Wuzzy 2020-11-04 15:14:31 +01:00
parent f9f9e577e8
commit a92747cabc
1 changed files with 1 additions and 1 deletions

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