Add a comment

This commit is contained in:
libraryaddict 2022-02-18 00:32:16 +13:00
parent 8644aaacd1
commit d4a18b3c11

@ -868,6 +868,7 @@ public abstract class Disguise {
getWatcher().setBackupValue(flag, backup == null ? null : backup.getDefault()); 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()) { if (getEntity() instanceof Player && !getWatcher().hasCustomName()) {
getWatcher().setInteralCustomName(""); getWatcher().setInteralCustomName("");
getWatcher().setInternalCustomNameVisible(false); getWatcher().setInternalCustomNameVisible(false);