mirror of
https://github.com/minetest-mods/item_drop.git
synced 2024-12-22 22:02:26 +01:00
Replace another deprecated function
This commit is contained in:
parent
becdfd113a
commit
26d0532cbd
2
init.lua
2
init.lua
@ -260,7 +260,7 @@ if legacy_setting_getbool("item_drop.enable_item_pickup",
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local pos = player:getpos()
|
local pos = player:get_pos()
|
||||||
pos.y = pos.y+0.5
|
pos.y = pos.y+0.5
|
||||||
local inv
|
local inv
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user