Scoreboard Health 0 Fix
Dieser Commit ist enthalten in:
Ursprung
aedbd69e66
Commit
2d06766270
@ -76,7 +76,7 @@ public class FightScoreboard {
|
|||||||
objective.setDisplayName(fightTeam.getColoredName());
|
objective.setDisplayName(fightTeam.getColoredName());
|
||||||
fightTeam.getPlayers().forEach(fp -> {
|
fightTeam.getPlayers().forEach(fp -> {
|
||||||
if(fp.isLiving())
|
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()));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren