1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2025-07-04 09:00:22 +02:00

Copied security from creepers to dungeon_masters

This commit is contained in:
LeMagnesium
2015-03-23 21:15:56 +01:00
parent e9b525b48a
commit 41274eabd0
2 changed files with 20 additions and 10 deletions

View File

@ -618,7 +618,7 @@ function mobs:register_mob(name, def)
m_stack = inv:get_stack("main",i)
obj = minetest.add_item(pos,m_stack)
if obj then
obj:setvelocity({x=math.random(-1,1), y=5, z=math.random(-1,1)})
obj:setvelocity({x=math.random(-2,2), y=7, z=math.random(-2,2)})
end
end
end