Readd sunlight_propagates=true for compatibility.

This commit is contained in:
Foz 2017-12-19 12:21:27 -05:00
parent 6e61bba3b3
commit f2db5ab58b

View File

@ -55,6 +55,7 @@ for _, name in pairs(default_nodes) do
local mod = "default"
local nodename = mod .. ":" .. name
local ndef = table.copy(minetest.registered_nodes[nodename])
ndef.sunlight_propagates = true
-- Stone and desert_stone drop cobble and desert_cobble respectively.
if type(ndef.drop) == "string" then
@ -76,6 +77,7 @@ if minetest.get_modpath("farming") then
local mod = "farming"
local nodename = mod .. ":" .. name
local ndef = table.copy(minetest.registered_nodes[nodename])
ndef.sunlight_propagates = true
stairsplus:register_all("moreblocks", name, nodename, ndef)
end
end
@ -89,6 +91,7 @@ if minetest.get_modpath("wool") then
local mod = "wool"
local nodename = mod .. ":" .. name
local ndef = table.copy(minetest.registered_nodes[nodename])
ndef.sunlight_propagates = true
-- Prevent dye+cut wool recipy from creating a full wool block.
ndef.groups.wool = nil