Add in prepare_groups tree and wool

Tree for glitch with furnace
Wool  move for more coherence
This commit is contained in:
Jat15 2018-09-07 11:58:19 +02:00
parent 5fc5fce74e
commit 9f4ed1436e
2 changed files with 1 additions and 4 deletions

View File

@ -23,7 +23,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

View File

@ -105,9 +105,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