mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-13 08:19:08 +02:00
Fix
This commit is contained in:
@@ -105,7 +105,8 @@ module.exports = class ShipCommand extends Command {
|
||||
}
|
||||
|
||||
percentColor(pct) {
|
||||
for (let i = 1; i < percentColors.length - 1; i++) {
|
||||
let i = 1;
|
||||
for (i; i < percentColors.length - 1; i++) {
|
||||
if (pct < percentColors[i].pct) {
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user