Remove an useless tostring()
This commit is contained in:
parent
9a30672cf1
commit
f5cdb5b7aa
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user