From c1dffa70f0539d591024c1a623dbc5c9338831c3 Mon Sep 17 00:00:00 2001 From: Vanessa Ezekowitz Date: Mon, 20 Aug 2012 03:38:38 -0400 Subject: [PATCH] fixed wrong veriable in creative inventory filter --- devices.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices.lua b/devices.lua index 6d9b27b..f13fab6 100644 --- a/devices.lua +++ b/devices.lua @@ -44,7 +44,7 @@ local dgroups = "" for s in ipairs(states) do - if s == "off" then + if states[s] == "off" then dgroups = {snappy=3, pipe=1} else dgroups = {snappy=3, pipe=1, not_in_creative_inventory=1} -- 2.30.2