SteamWar/FightSystem
Archiviert
13
1

Merge pull request 'Scoreboard 0 Health Fix' (#191) from scoreboard-0-fix into master

Reviewed-by: YoyoNow <jwsteam@nidido.de>
Dieser Commit ist enthalten in:
Lixfel 2020-09-27 19:15:02 +02:00
Commit 0299e35766

Datei anzeigen

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