forked from MineClone5/MineClone5
Fix light_source level 1
This commit is contained in:
parent
3a402c8054
commit
59fa6a91e9
|
@ -4,6 +4,8 @@ minetest.register_on_mods_loaded(function ()
|
|||
local light_source = def.light_source
|
||||
if light_source == nil or light_source < light_min then
|
||||
minetest.override_item(i, { light_source = light_min })
|
||||
elseif light_source == light_min then
|
||||
minetest.override_item(i, { light_source = light_min + 1 })
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Reference in New Issue