Skip to content
Snippets Groups Projects
Commit f5cdb5b7 authored by Jean-Patrick Guerrero's avatar Jean-Patrick Guerrero
Browse files

Remove an useless tostring()

parent 9a30672c
No related branches found
No related tags found
No related merge requests found
......@@ -164,7 +164,7 @@ for enchant in tooldef[2]:gmatch("[%w_]+") do
local fleshy = original_damage_groups.fleshy
local full_punch_interval = original_tool.tool_capabilities.full_punch_interval
local max_drop_level = original_tool.tool_capabilities.max_drop_level
group = tostring(next(original_groupcaps))
group = next(original_groupcaps)
if enchant == "durable" then
groupcaps[group].uses = math.ceil(original_groupcaps[group].uses * enchanting.uses)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment