Use minetest.LIGHT_MAX

This commit is contained in:
Wuzzy 2019-12-14 18:57:17 +01:00
parent f4888a42a9
commit 101c9b7322
10 changed files with 17 additions and 23 deletions

View file

@ -118,8 +118,7 @@ minetest.register_node("mcl_core:lava_flowing", {
},
paramtype = "light",
paramtype2 = "flowingliquid",
-- Real light level: 15 (but Minetest caps at 14)
light_source = 14,
light_source = minetest.LIGHT_MAX,
sounds = mcl_sounds.node_sound_lava_defaults(),
walkable = false,
pointable = false,
@ -175,9 +174,8 @@ S("• When lava is directly above water, the water turns into stone."),
backface_culling = false,
}
},
-- Real light level: 15 (but Minetest caps at 14)
paramtype = "light",
light_source = 14,
light_source = minetest.LIGHT_MAX,
sounds = mcl_sounds.node_sound_lava_defaults(),
walkable = false,
pointable = false,