mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-11-15 23:10:18 +01:00
Readd sunlight_propagates=true for compatibility.
This commit is contained in:
parent
6e61bba3b3
commit
f2db5ab58b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user