From 813897b514572067c777a10df19564b2211b70c1 Mon Sep 17 00:00:00 2001 From: tenplus1 Date: Fri, 28 Jul 2017 09:24:00 +0100 Subject: [PATCH] add missing local added missing local --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index 34e9811..91032e3 100644 --- a/init.lua +++ b/init.lua @@ -66,7 +66,7 @@ function toolranks.new_afteruse(itemstack, user, node, digparams) gain = 2.0, }) end - level = toolranks.get_level(dugnodes) + local level = toolranks.get_level(dugnodes) if lastlevel < level then local levelup_text = "Your " .. toolranks.colors.green ..