add nil alt

This commit is contained in:
tenplus1 2024-08-20 16:56:19 +01:00
parent 0524f3d89c
commit db704cec54
2 changed files with 2 additions and 2 deletions

View File

@ -97,4 +97,4 @@ end
dofile(path .. "/spawn.lua") dofile(path .. "/spawn.lua")
print("[MOD] NSSM loaded") print("[MOD] Mobs Redo Not So Simple Mobs loaded")

View File

@ -59,7 +59,7 @@ mobs:register_mob("nssm:morwa", {
do_custom = function (self) do_custom = function (self)
local pos = self.object:get_pos() 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) --minetest.chat_send_all("Luce: "..light)
if light < 8 then if light < 8 then