I have a strange bungeecord behaviour on my server. It is possible to get disconnected by the server with a command that does NOTHING ELSE than just this:
I wanted to create a new scoreboard to display informations to only one user, which worked fine. But when I assign the main scoreboard back...
Server crash when main scoreboard gets assigned to player
Code (Text):
((Player) sender).setScoreboard(this.getServer().getScoreboardManager().getNewScoreboard());
((Player) sender).setScoreboard(this.getServer().getScoreboardManager().getMainScoreboard());
((Player) sender).setScoreboard(this.getServer().getScoreboardManager().getMainScoreboard());
Server crash when main scoreboard gets assigned to player