SteamWar/FightSystem
Archiviert
13
1

Fix fightscoreboard recording

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-11-02 10:41:45 +01:00
Ursprung 790042dcba
Commit d9dede725b

Datei anzeigen

@ -79,7 +79,7 @@ public class FightScoreboard {
RecordSystem.scoreboardTitle(fightTeam.getColoredName());
fightTeam.getPlayers().forEach(fp -> {
if(fp.isLiving())
objective.getScore(fightTeam.getPrefix() + fp.getPlayer().getName()).setScore((int) Math.ceil(fp.getPlayer().getHealth()));
setScore(fightTeam.getPrefix() + fp.getPlayer().getName(), (int) Math.ceil(fp.getPlayer().getHealth()));
});
}