diff options
author | Louis Royer <55180044+louisroyer@users.noreply.github.com> | 2021-04-01 18:56:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-01 18:56:08 +0200 |
commit | f5c3f798be94cc95b93e5fe480f537dc41d6f350 (patch) | |
tree | 37843761ab8d5362d52509a803900e459a268f5c /mesecons_wires | |
parent | 69d4a9584d4d9e5ccd31a3c71464ba539f10d91d (diff) | |
download | mesecons-f5c3f798be94cc95b93e5fe480f537dc41d6f350.tar mesecons-f5c3f798be94cc95b93e5fe480f537dc41d6f350.tar.gz mesecons-f5c3f798be94cc95b93e5fe480f537dc41d6f350.tar.bz2 mesecons-f5c3f798be94cc95b93e5fe480f537dc41d6f350.tar.xz mesecons-f5c3f798be94cc95b93e5fe480f537dc41d6f350.zip |
Compatibility with mtg_craft_guide (#555)
Use group instead of wire when possible
Fixes https://github.com/minetest/minetest_game/issues/2843.
Diffstat (limited to 'mesecons_wires')
-rw-r--r-- | mesecons_wires/init.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesecons_wires/init.lua b/mesecons_wires/init.lua index 3ca9cbc..20e6adb 100644 --- a/mesecons_wires/init.lua +++ b/mesecons_wires/init.lua @@ -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, { |