From c17afaef92690a3eabb5c88a4efe6c9f15499e1c Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Mon, 30 Mar 2020 23:17:35 +1300 Subject: [PATCH] Make name volatile --- .../me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java b/src/main/java/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java index dc27b38b..020c1625 100644 --- a/src/main/java/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java +++ b/src/main/java/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java @@ -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);