mirror of
				https://github.com/sys4-fr/server-nalc.git
				synced 2025-11-04 05:55:28 +01:00 
			
		
		
		
	Copied security from creepers to dungeon_masters
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user