projects
/
oweals
/
minetest_game.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace deprecated function calls
[oweals/minetest_game.git]
/
mods
/
bones
/
init.lua
diff --git
a/mods/bones/init.lua
b/mods/bones/init.lua
index 480a55c4847ff577434873a6c6ea20913d11e758..0043118d205f35041343611262616053088b86b0 100644
(file)
--- a/
mods/bones/init.lua
+++ b/
mods/bones/init.lua
@@
-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,