Fix crafting with the default mesecon wire

This commit is contained in:
Jeija 2014-11-22 23:20:29 +01:00
parent a814abd1e0
commit fc4d675b84
1 changed files with 3 additions and 2 deletions

View File

@ -199,8 +199,9 @@ register_wires = function()
offstate = "mesecons:wire_"..nodeid.."_off"
}}
local groups_on = {dig_immediate = 3, not_in_creative_inventory = 1}
local groups_off = {dig_immediate = 3}
local groups_on = {dig_immediate = 3, mesecon_conductor_craftable = 1,
not_in_creative_inventory = 1}
local groups_off = {dig_immediate = 3, mesecon_conductor_craftable = 1}
if nodeid ~= "00000000" then
groups_off["not_in_creative_inventory"] = 1
end