Make name volatile

This commit is contained in:
libraryaddict
2020-03-30 23:17:35 +13:00
committed by GitHub
parent 901c6ef06f
commit c17afaef92

View File

@@ -36,7 +36,7 @@ public class PlayerDisguise extends TargetedDisguise {
@Getter
@Setter
private boolean dynamicName;
private DisguiseUtilities.DisguiseTeam scoreboardName;
private volatile DisguiseUtilities.DisguiseTeam scoreboardName;
private PlayerDisguise() {
super(DisguiseType.PLAYER);