Replace another deprecated function

This commit is contained in:
texmex 2019-06-15 13:26:24 +02:00 committed by GitHub
parent 95e89b1c94
commit 871be4048e

View File

@ -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