summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorWuzzy <almikes@aol.com>2016-09-02 07:28:27 +0200
committerWuzzy <almikes@aol.com>2016-09-02 07:28:27 +0200
commit497a65bf9659875ee2ac20db7d895278164b9891 (patch)
tree8f6ec5d3c21e5b3c226c3d052db9eaef76ebec6b /init.lua
parent01bc7eb8bfefc931a8ad3d8bd95f603ca9707b0d (diff)
Fix mining group name check against dig_immediate
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
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