Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Ursprung
f204fff777
Commit
b6bbf79473
@ -152,6 +152,15 @@ public class PacketProcessor {
|
||||
winner = Fight.getRedTeam();
|
||||
|
||||
FightSystem.setSpectateState(winner, "Replay ends", message.getMsg(), message.getParams());
|
||||
if (winner != null) {
|
||||
FightUI.getInstance().setBossbar(0.5, 0.5,
|
||||
new Message("BAR_WIN", winner.getColoredName(), Fight.getBlueTeam().getColoredName(), Fight.getRedTeam().getColoredName(), ""),
|
||||
new Message("BAR_WIN", winner.getColoredName(), Fight.getRedTeam().getColoredName(), Fight.getBlueTeam().getColoredName(), ""));
|
||||
} else {
|
||||
FightUI.getInstance().setBossbar(0.5, 0.5,
|
||||
new Message("BAR_TIE", "", Fight.getBlueTeam().getColoredName(), Fight.getRedTeam().getColoredName()),
|
||||
new Message("BAR_TIE", "", Fight.getRedTeam().getColoredName(), Fight.getBlueTeam().getColoredName()));
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren