mirror of
https://github.com/alexcrea/CustomAnvil.git
synced 2026-06-24 00:26:16 +02:00
fix "revert color" not using the right function
This commit is contained in:
parent
15f82abf79
commit
6958bd0aff
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ object AnvilColorUtil {
|
||||||
|
|
||||||
// Reverse hex pattern
|
// Reverse hex pattern
|
||||||
if (canUseHexColor) {
|
if (canUseHexColor) {
|
||||||
val nbReplacement = replaceHexToColor(colorToText, 14)
|
val nbReplacement = replaceColorToHex(colorToText, 14)
|
||||||
|
|
||||||
if (nbReplacement > 0) hasReversed = true
|
if (nbReplacement > 0) hasReversed = true
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue