From 3a5f8545dc9374852f07c3bfaad82c5d684de710 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 4 Sep 2020 12:49:06 +1200 Subject: [PATCH] Fixed volatile isn't transient --- .../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 bc51d13f..cefad386 100644 --- a/src/main/java/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java +++ b/src/main/java/me/libraryaddict/disguise/disguisetypes/PlayerDisguise.java @@ -30,7 +30,7 @@ public class PlayerDisguise extends TargetedDisguise { */ private boolean explicitNameVisible = false; private final UUID uuid = UUID.randomUUID(); - private volatile DisguiseUtilities.DScoreTeam scoreboardName; + private transient DisguiseUtilities.DScoreTeam scoreboardName; private PlayerDisguise() { super(DisguiseType.PLAYER);