Replace deprecated function calls
This commit is contained in:
parent
0df2753a68
commit
255031fc91
12 changed files with 51 additions and 51 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue