add nil alt
This commit is contained in:
parent
0524f3d89c
commit
db704cec54
2
init.lua
2
init.lua
@ -97,4 +97,4 @@ end
|
||||
dofile(path .. "/spawn.lua")
|
||||
|
||||
|
||||
print("[MOD] NSSM loaded")
|
||||
print("[MOD] Mobs Redo Not So Simple Mobs loaded")
|
||||
|
@ -59,7 +59,7 @@ mobs:register_mob("nssm:morwa", {
|
||||
do_custom = function (self)
|
||||
|
||||
local pos = self.object:get_pos()
|
||||
local light = minetest.get_node_light(pos)
|
||||
local light = minetest.get_node_light(pos) or 0
|
||||
|
||||
--minetest.chat_send_all("Luce: "..light)
|
||||
if light < 8 then
|
||||
|
Loading…
Reference in New Issue
Block a user