mirror of
https://codeberg.org/minenux/minetest-mod-xdecor
synced 2023-10-20 21:43:39 -07:00
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 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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user