SteamWar/FightSystem
Archiviert
13
1

Fixing missing time information

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-01-05 14:31:59 +01:00
Ursprung 318a88bd51
Commit e352862c5e

Datei anzeigen

@ -60,7 +60,7 @@ public class FightScoreboard {
private static void generalScoreboard(){
objective.setDisplayName("§6Kampf");
if (Config.Timeout || Config.Points) {
if (Config.Timeout || Config.Points || Config.HeartRatioTimeout) {
int fightTime = FightSystem.getFightTime();
if (fightTime >= 60)
objective.getScore("§7Zeit: §a" + fightTime / 60 + "m " + fightTime % 60 + "s").setScore(3);