From f2db5ab58b0b467c83a64721f218a0265bba2b13 Mon Sep 17 00:00:00 2001 From: Foz Date: Tue, 19 Dec 2017 12:21:27 -0500 Subject: [PATCH] Readd sunlight_propagates=true for compatibility. --- stairsplus/registrations.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stairsplus/registrations.lua b/stairsplus/registrations.lua index e84732f..0fc6785 100644 --- a/stairsplus/registrations.lua +++ b/stairsplus/registrations.lua @@ -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