This commit is contained in:
libraryaddict 2022-09-17 15:34:27 +12:00
parent 07e8336c1f
commit a7b72a6e76

View File

@ -887,7 +887,7 @@ public abstract class Disguise {
// 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().isUpsideDown() &&
!(getWatcher() instanceof SheepWatcher || ((SheepWatcher) getWatcher()).isRainbowWool())) {
(!(getWatcher() instanceof SheepWatcher) || !((SheepWatcher) getWatcher()).isRainbowWool())) {
getWatcher().setInteralCustomName("");
getWatcher().setInternalCustomNameVisible(false);
}