mirror of
https://github.com/EnumeratedDev/stormfetch.git
synced 2026-09-16 07:56:12 +00:00
Take default color length into account when calculating module text
length
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ func run() {
|
||||
}
|
||||
|
||||
// Continue if text length is 0
|
||||
if len(textNoColor) == 0 {
|
||||
if len(textNoColor)-len(colorMap[0]) == 0 {
|
||||
continue
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user