fix: TeamManager unregister all Tems on startup

This commit is contained in:
Simon Giesel 2020-05-15 12:22:05 +02:00
parent 4def45e8cf
commit fae0910759

View file

@ -35,6 +35,10 @@ public class TeamManager {
this.scoreboard = Bukkit.getScoreboardManager().getMainScoreboard();
this.teams = new ArrayList<Team>();
for (Team team : this.scoreboard.getTeams()) {
team.unregister();
}
this.init();
}