add missing local

added missing local
This commit is contained in:
tenplus1 2017-07-28 09:24:00 +01:00 committed by GitHub
parent cdf2606228
commit 813897b514

View File

@ -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 ..