forked from VoxeLibre/VoxeLibre
add/remove comments
This commit is contained in:
parent
6c107ce990
commit
49bd28e109
|
@ -96,6 +96,9 @@ local function get_armor_texture(textures, name, modname, itemname, itemstring)
|
|||
local core_armor_texture = mcl_armor.trims.core_textures[stack_name]
|
||||
|
||||
if mcl_enchanting.is_enchanted(itemstack:get_name()) then -- working with the original stack to know wether to apply enchanting overlay or not
|
||||
--[[Far, Far in the future we may no longer _enchanted itemstrings...
|
||||
To fix this code, simply put the unmodified itemstring in stack_name's place
|
||||
DO NOT REMOVE THIS if UNLESS YOU KNOW WHAT YOU'RE TRYING TO ACHIEVE!--]]
|
||||
core_armor_texture = core_armor_texture .. mcl_enchanting.overlay
|
||||
end
|
||||
|
||||
|
|
|
@ -98,7 +98,6 @@ function mcl_smithing_table.upgrade_trimmed(itemstack, color_mineral, template)
|
|||
|
||||
--trimming process
|
||||
mcl_armor.trim(itemstack, overlay, material_name)
|
||||
--itemstack:set_name(itemstack:get_name() .. "_trimmed_" .. overlay .. "_" .. material_name)
|
||||
tt.reload_itemstack_description(itemstack)
|
||||
|
||||
return itemstack
|
||||
|
|
Loading…
Reference in New Issue