From: Vanessa Ezekowitz Date: Mon, 20 Aug 2012 07:38:38 +0000 (-0400) Subject: fixed wrong veriable in creative inventory filter X-Git-Url: http://81.2.79.47:8989/gitweb/?a=commitdiff_plain;h=c1dffa70f0539d591024c1a623dbc5c9338831c3;p=zefram%2Fminetest%2Fpipeworks.git fixed wrong veriable in creative inventory filter --- 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}