change bruhify delay to 1 tick

This commit is contained in:
Chayapak 2023-08-27 17:22:40 +07:00
parent 6042cdd254
commit d36aeebc96

View file

@ -18,7 +18,7 @@ public class BruhifyPlugin {
int hue = startHue;
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();
@ -31,6 +31,6 @@ public class BruhifyPlugin {
bot.chat.actionBar(component);
startHue = (startHue + increment) % 360;
}, 50, 100, TimeUnit.MILLISECONDS);
}, 0, 50, TimeUnit.MILLISECONDS);
}
}