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