diff --git a/mods/ENTITIES/mcl_mobs/api/mob_functions/collision.lua b/mods/ENTITIES/mcl_mobs/api/mob_functions/collision.lua index 525dcfd6a5..e6c89e2dbc 100644 --- a/mods/ENTITIES/mcl_mobs/api/mob_functions/collision.lua +++ b/mods/ENTITIES/mcl_mobs/api/mob_functions/collision.lua @@ -1,5 +1,7 @@ local minetest_get_objects_inside_radius = minetest.get_objects_inside_radius +local math_random = math.random + local integer_test = {-1,1} mobs.collision = function(self)