Replace another deprecated function

This commit is contained in:
texmex 2019-06-15 13:26:24 +02:00 committed by GitHub
parent becdfd113a
commit 26d0532cbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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