Synchronized scoreboard type auto update

This commit is contained in:
Fabrizio La Rosa 2020-08-04 00:44:43 +02:00
parent eab672dc01
commit 69cadd6dda

View File

@ -82,8 +82,9 @@ public class ScoreboardManager extends Manager {
} else {
type = ScoreboardType.NO_ISLAND;
}
setPlayerScoreboard(player, type);
synchronized (player) {
setPlayerScoreboard(player, type);
}
}
}