From 497a65bf9659875ee2ac20db7d895278164b9891 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 2 Sep 2016 07:28:27 +0200 Subject: Fix mining group name check against dig_immediate --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index edafa1e..c2485e6 100644 --- a/init.lua +++ b/init.lua @@ -446,7 +446,7 @@ doc.new_category("nodes", { -- Check if there are no mining groups at all local nogroups = true for groupname,_ in pairs(mininggroups) do - if data.def.groups[groupname] ~= nil or groupname == dig_immediate then + if data.def.groups[groupname] ~= nil or groupname == "dig_immediate" then nogroups = false break end -- cgit v1.2.3