mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 00:40:52 +01:00
Fix NullPointerException in Banzai refreshCounters
This commit is contained in:
parent
ab65865d73
commit
8dda7e8111
@ -405,6 +405,8 @@ public class BattleBanzaiGame extends Game
|
|||||||
|
|
||||||
public void refreshCounters(GameTeamColors teamColors)
|
public void refreshCounters(GameTeamColors teamColors)
|
||||||
{
|
{
|
||||||
|
if (!this.teams.containsKey(teamColors)) return;
|
||||||
|
|
||||||
int totalScore = this.teams.get(teamColors).getTotalScore();
|
int totalScore = this.teams.get(teamColors).getTotalScore();
|
||||||
|
|
||||||
THashMap<Integer, InteractionBattleBanzaiScoreboard> scoreBoards = this.room.getRoomSpecialTypes().getBattleBanzaiScoreboards(teamColors);
|
THashMap<Integer, InteractionBattleBanzaiScoreboard> scoreBoards = this.room.getRoomSpecialTypes().getBattleBanzaiScoreboards(teamColors);
|
||||||
|
Loading…
Reference in New Issue
Block a user