mirror of
https://github.com/mt-mods/pipeworks.git
synced 2024-12-26 02:40:23 +01:00
fixed wrong veriable in creative inventory filter
This commit is contained in:
parent
a38ef007c2
commit
c1dffa70f0
@ -44,7 +44,7 @@ local dgroups = ""
|
|||||||
|
|
||||||
for s in ipairs(states) do
|
for s in ipairs(states) do
|
||||||
|
|
||||||
if s == "off" then
|
if states[s] == "off" then
|
||||||
dgroups = {snappy=3, pipe=1}
|
dgroups = {snappy=3, pipe=1}
|
||||||
else
|
else
|
||||||
dgroups = {snappy=3, pipe=1, not_in_creative_inventory=1}
|
dgroups = {snappy=3, pipe=1, not_in_creative_inventory=1}
|
||||||
|
Loading…
Reference in New Issue
Block a user