mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-07-12 04:40:21 +02:00
fix light_source warning, register_node function rewrite light_source to LIGHT_MAX(14) when is greater than LIGHT_MAX
fix use of old var LIGHT_MAX to default.LIGHT_MAX
This commit is contained in:
@ -222,7 +222,7 @@ minetest.register_node("darkage:lamp", {
|
||||
description = "Lamp",
|
||||
tiles = {"darkage_lamp.png"},
|
||||
paramtype = "light",
|
||||
light_source = 18,
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3,flammable=1},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
})
|
||||
@ -352,7 +352,7 @@ minetest.register_node("darkage:glow_glass", {
|
||||
drawtype = "glasslike",
|
||||
tiles = {"darkage_glass.png"},
|
||||
paramtype = "light",
|
||||
light_source = 18,
|
||||
light_source = default.LIGHT_MAX,
|
||||
sunlight_propagates = true,
|
||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
|
||||
sounds = default.node_sound_glass_defaults(),
|
||||
|
@ -166,7 +166,7 @@ if stairsplus then
|
||||
description = "Medieval Glow Glass",
|
||||
tiles = {"darkage_glass.png"},
|
||||
paramtype = "light",
|
||||
light_source = 18,
|
||||
light_source = default.LIGHT_MAX,
|
||||
groups = {snappy=2,cracky=3,oddly_breakable_by_hand=3},
|
||||
sounds = default.node_sound_stone_defaults(),
|
||||
sunlight_propagates = true,
|
||||
|
Reference in New Issue
Block a user