mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 12:00:59 +00:00
Don't refresh disguise if they can't show a name anyways
This commit is contained in:
parent
45ecc68a2a
commit
f5090cc288
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ public class PlayerDisguise extends TargetedDisguise {
|
|||
name = name.substring(0, 16);
|
||||
}
|
||||
|
||||
if (isDisguiseInUse()) {
|
||||
if (isDisguiseInUse() && isShowName()) {
|
||||
if (stopDisguise()) {
|
||||
playerName = name;
|
||||
|
||||
|
|
Loading…
Reference in a new issue