forked from mtcontrib/homedecor_modpack
fix missing rules for gates
This commit is contained in:
parent
c28df63aae
commit
0f2c4f94de
@ -275,7 +275,7 @@ for i, g in ipairs(gate_list) do
|
|||||||
end,
|
end,
|
||||||
mesecons = {
|
mesecons = {
|
||||||
effector = {
|
effector = {
|
||||||
rules = m_rules,
|
rules = mesecon.rules.pplate,
|
||||||
action_on = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "closed") end
|
action_on = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "closed") end
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -304,7 +304,7 @@ for i, g in ipairs(gate_list) do
|
|||||||
return itemstack
|
return itemstack
|
||||||
end
|
end
|
||||||
def.mesecons.effector = {
|
def.mesecons.effector = {
|
||||||
rules = m_rules,
|
rules = mesecon.rules.pplate,
|
||||||
action_off = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "open") end
|
action_off = function(pos,node) homedecor.flip_gate(pos,node,nil,gate, "open") end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user