forked from minetest-mods/mesecons
		
	Compatibility with mtg_craft_guide (#555)
Use group instead of wire when possible Fixes https://github.com/minetest/minetest_game/issues/2843.
This commit is contained in:
		| @@ -195,10 +195,11 @@ local function register_wires() | ||||
| 		}} | ||||
|  | ||||
| 		local groups_on = {dig_immediate = 3, mesecon_conductor_craftable = 1, | ||||
| 			not_in_creative_inventory = 1} | ||||
| 			not_in_creative_inventory = 1, not_in_craft_guide = 1} | ||||
| 		local groups_off = {dig_immediate = 3, mesecon_conductor_craftable = 1} | ||||
| 		if nodeid ~= "00000000" then | ||||
| 			groups_off["not_in_creative_inventory"] = 1 | ||||
| 			groups_off["not_in_craft_guide"] = 1 | ||||
| 		end | ||||
|  | ||||
| 		mesecon.register_node(":mesecons:wire_"..nodeid, { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user