change bruhify delay to 1 tick
This commit is contained in:
parent
6042cdd254
commit
d36aeebc96
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ public class BruhifyPlugin {
|
||||||
|
|
||||||
int hue = startHue;
|
int hue = startHue;
|
||||||
String displayName = bruhifyText;
|
String displayName = bruhifyText;
|
||||||
int increment = (int)(360.0 / Math.max(displayName.length(), 20));
|
int increment = 360 / Math.max(displayName.length(), 20);
|
||||||
|
|
||||||
Component component = Component.empty();
|
Component component = Component.empty();
|
||||||
|
|
||||||
|
@ -31,6 +31,6 @@ public class BruhifyPlugin {
|
||||||
bot.chat.actionBar(component);
|
bot.chat.actionBar(component);
|
||||||
|
|
||||||
startHue = (startHue + increment) % 360;
|
startHue = (startHue + increment) % 360;
|
||||||
}, 50, 100, TimeUnit.MILLISECONDS);
|
}, 0, 50, TimeUnit.MILLISECONDS);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue