mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2025-06-28 06:11:47 +02:00
Changed all the LIGHT_MAX calls to default.LIGHT_MAX
- Avoided crash by using the real variable instead of its old name
This commit is contained in:
@ -29,7 +29,7 @@ minetest.register_node("noairblocks:water_flowingx", {
|
||||
liquidtype = "flowing",
|
||||
liquid_alternative_flowing = "noairblocks:water_flowingx",
|
||||
liquid_alternative_source = "noairblocks:water_sourcex",
|
||||
liquid_viscosity = WATER_VISC,
|
||||
liquid_viscosity = 1,
|
||||
freezemelt = "default:snow",
|
||||
post_effect_color = {a=64, r=100, g=100, b=200},
|
||||
groups = {water=3, liquid=3, puts_out_fire=1, not_in_creative_inventory=1, freezes=1, melt_around=1},
|
||||
@ -61,7 +61,7 @@ minetest.register_node("noairblocks:water_sourcex", {
|
||||
liquidtype = "source",
|
||||
liquid_alternative_flowing = "noairblocks:water_flowingx",
|
||||
liquid_alternative_source = "noairblocks:water_sourcex",
|
||||
liquid_viscosity = WATER_VISC,
|
||||
liquid_viscosity = 1,
|
||||
freezemelt = "default:ice",
|
||||
post_effect_color = {a=64, r=100, g=100, b=200},
|
||||
groups = {water=3, liquid=3, puts_out_fire=1, freezes=1},
|
||||
@ -227,4 +227,4 @@ local pos1 = {x=pos.x+1,y=pos.y+1,z=pos.z+1}
|
||||
return
|
||||
end
|
||||
end,
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user