Dirty fix

This commit is contained in:
libraryaddict 2022-07-25 05:24:30 +12:00 committed by GitHub
parent 4fb298a33a
commit 8f37ff8e23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -345,6 +345,7 @@ public class PlayerDisguise extends TargetedDisguise {
resendDisguise = !DisguiseConfig.isScoreboardNames() || isStaticName(name) || isStaticName(getName()) || resendDisguise;
if (resendDisguise) {
playerName = name;
resendDisguise(name, false);
} else {
if (getName().isEmpty() && !name.isEmpty() && !isNameVisible()) {