From d4a18b3c11d099070ac37ee8aa82a6d717591ac2 Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Fri, 18 Feb 2022 00:32:16 +1300 Subject: [PATCH] Add a comment --- .../java/me/libraryaddict/disguise/disguisetypes/Disguise.java | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java b/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java index 1fbd8c88..691d82a6 100644 --- a/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java +++ b/plugin/src/main/java/me/libraryaddict/disguise/disguisetypes/Disguise.java @@ -868,6 +868,7 @@ public abstract class Disguise { getWatcher().setBackupValue(flag, backup == null ? null : backup.getDefault()); } + // Sometimes someone may set the custom name stuff on the actual player... Normally harmless, until I come along.. if (getEntity() instanceof Player && !getWatcher().hasCustomName()) { getWatcher().setInteralCustomName(""); getWatcher().setInternalCustomNameVisible(false);