Replace deprecated function calls

This commit is contained in:
SmallJoker
2018-07-01 21:44:03 +02:00
committed by Paramat
parent 0df2753a68
commit 255031fc91
12 changed files with 51 additions and 51 deletions

View File

@ -159,7 +159,7 @@ end
local drop = function(pos, itemstack)
local obj = minetest.add_item(pos, itemstack:take_item(itemstack:get_count()))
if obj then
obj:setvelocity({
obj:set_velocity({
x = math.random(-10, 10) / 9,
y = 5,
z = math.random(-10, 10) / 9,