Respect original wield images on enchanted shovels
This commit is contained in:
parent
c478a02fb1
commit
2d1eaad39b
@ -110,6 +110,7 @@ function enchanting.register_enchtools(init, m, def)
|
|||||||
description = "Enchanted "..m:gsub("%l", string.upper, 1).." "..
|
description = "Enchanted "..m:gsub("%l", string.upper, 1).." "..
|
||||||
t:gsub("%l", string.upper, 1).." ("..e:gsub("%l", string.upper, 1)..")",
|
t:gsub("%l", string.upper, 1).." ("..e:gsub("%l", string.upper, 1)..")",
|
||||||
inventory_image = minetest.registered_tools["default:"..t.."_"..m].inventory_image,
|
inventory_image = minetest.registered_tools["default:"..t.."_"..m].inventory_image,
|
||||||
|
wield_image = minetest.registered_tools["default:"..t.."_"..m].wield_image,
|
||||||
groups = {not_in_creative_inventory=1},
|
groups = {not_in_creative_inventory=1},
|
||||||
tool_capabilities = {groupcaps = g, damage_groups = def.dmg}
|
tool_capabilities = {groupcaps = g, damage_groups = def.dmg}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user