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:
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
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user