SteamWar/BauSystem2.0
Archiviert
12
0

Update some visuals, still needs to be multilingualed
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
yoyosource 2023-03-08 21:56:25 +01:00
Ursprung 4b3b8691b5
Commit 3e3415e9ca

Datei anzeigen

@ -285,7 +285,7 @@ public class KillcheckerVisualizer {
}
private void updateBossBar(Player player, BossBar bossBar) {
bossBar.setTitle("§c§l" + kills + " §7(" + ((int) (percent * 1000) / 10.0) + "%) §e§l" + cannonCount + "§7 Kanonen");
bossBar.setTitle("§e§l" + kills + " §7(§e" + ((int) (percent * 1000) / 10.0) + "%§7) §e§l" + cannonCount + "§7 Kanonen");
bossBar.setProgress(percent);
if (percent >= 0.35) {
bossBar.setColor(BarColor.RED);