mirror of
				https://github.com/minetest-mods/moreblocks.git
				synced 2025-11-04 07:25:29 +01:00 
			
		
		
		
	Add in prepare_groups tree and wool
Tree for glitch with furnace Wool move for more coherence
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user