Remove an useless tostring()

This commit is contained in:
Jean-Patrick Guerrero 2016-02-28 22:37:16 +01:00
parent 9a30672cf1
commit f5cdb5b7aa

View File

@ -164,7 +164,7 @@ for enchant in tooldef[2]:gmatch("[%w_]+") do
local fleshy = original_damage_groups.fleshy local fleshy = original_damage_groups.fleshy
local full_punch_interval = original_tool.tool_capabilities.full_punch_interval local full_punch_interval = original_tool.tool_capabilities.full_punch_interval
local max_drop_level = original_tool.tool_capabilities.max_drop_level local max_drop_level = original_tool.tool_capabilities.max_drop_level
group = tostring(next(original_groupcaps)) group = next(original_groupcaps)
if enchant == "durable" then if enchant == "durable" then
groupcaps[group].uses = math.ceil(original_groupcaps[group].uses * enchanting.uses) groupcaps[group].uses = math.ceil(original_groupcaps[group].uses * enchanting.uses)