Add files via upload

master
AiTechEye 2020-10-14 21:02:10 +02:00 committed by GitHub
parent 0c122f4f5c
commit ef6b848511
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -627,7 +627,7 @@ minetest.register_abm({
end
local pos1={x=pos.x,y=pos.y+1,z=pos.z}
local pos2={x=pos.x,y=pos.y+2,z=pos.z}
local l=minetest.get_node_light(pos1)
local l = minetest.get_node_light(pos1) or 0
if l==nil then return true end
if aliveai.random(1,def.spawn_chance)==1
and (def.light==0