Fixing... #206
@ -42,7 +42,7 @@ public class FightScoreboard {
|
||||
private static final Set<FightState> fullScoreboard = EnumSet.of(FightState.RUNNING, FightState.SPECTATE);
|
||||
private static int index = 0;
|
||||
private static String title = "";
|
||||
private static HashMap<String, Integer> scores;
|
||||
private static final HashMap<String, Integer> scores = new HashMap<>();
|
||||
|
||||
public static void init(){
|
||||
Bukkit.getScheduler().scheduleSyncRepeatingTask(FightSystem.getPlugin(), FightScoreboard::nextIndexDisplay, 0, 200);
|
||||
@ -123,6 +123,7 @@ public class FightScoreboard {
|
||||
team = Fight.redTeam;
|
||||
if(index == 2)
|
||||
team = Fight.blueTeam;
|
||||
scores.clear();
|
||||
if(team != null)
|
||||
teamScoreboard(team);
|
||||
else
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren