forked from minetest-mods/enchanting
Backport changes from xdecor
This commit is contained in:
parent
5d4070e54a
commit
13ea31ce12
5
init.lua
5
init.lua
@ -41,7 +41,10 @@ function enchanting:get_tooltip(enchant, orig_caps, fleshy)
|
|||||||
strong = {"#ff3d3d", ""},
|
strong = {"#ff3d3d", ""},
|
||||||
speed = {"#fd5eff", ""}
|
speed = {"#fd5eff", ""}
|
||||||
}
|
}
|
||||||
return minetest.colorize(specs[enchant][1], "\n"..cap(enchant)..specs[enchant][2])
|
return minetest.colorize and
|
||||||
|
minetest.colorize(specs[enchant][1],
|
||||||
|
"\n"..cap(enchant)..specs[enchant][2]) or
|
||||||
|
"\n"..cap(enchant)..specs[enchant][2]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user