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