From 0c2c3ad4ef7644f1a764a9eb03d2d6ee034b58b7 Mon Sep 17 00:00:00 2001 From: Jat15 Date: Sun, 27 Dec 2020 19:42:15 +0100 Subject: [PATCH] Add in prepare_groups tree and wool (#128) Tree for glitch with furnace Wool move for more coherence --- stairsplus/init.lua | 2 +- stairsplus/registrations.lua | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/stairsplus/init.lua b/stairsplus/init.lua index a1fcdff..4e071de 100644 --- a/stairsplus/init.lua +++ b/stairsplus/init.lua @@ -25,7 +25,7 @@ function stairsplus:prepare_groups(groups) local result = {} if groups then for k, v in pairs(groups) do - if k ~= "wood" and k ~= "stone" then + if k ~= "wood" and k ~= "stone" and k ~= "wool" and k ~= "tree" then result[k] = v end end diff --git a/stairsplus/registrations.lua b/stairsplus/registrations.lua index 088d903..5a2eb77 100644 --- a/stairsplus/registrations.lua +++ b/stairsplus/registrations.lua @@ -106,9 +106,6 @@ if minetest.get_modpath("wool") then 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 - stairsplus:register_all(mod, name, nodename, ndef) end end