]> git.lizzy.rs Git - Crafter.git/blobdiff - mods/mob/api/animation.lua
Make hostile mobs only spawn if area is really dark
[Crafter.git] / mods / mob / api / animation.lua
index 6f3929333db7abdbab4c42804d2ab59e2c7634b1..8f8660a49ee53597dd1fe882b43cfa513a0a7534 100644 (file)
@@ -1,3 +1,4 @@
+local math,vector = math,vector
 -- 
 mobs.create_animation_functions = function(def,mob_register)
        if def.movement_type ~= "jump" then