mirror of
https://github.com/TotalFreedomMC/TF-LibsDisguises.git
synced 2025-02-12 20:09:22 +00:00
Set custom name visible to false by default on players disguised
This commit is contained in:
parent
b527b3d166
commit
a7014ec9e1
1 changed files with 1 additions and 0 deletions
|
@ -903,6 +903,7 @@ public abstract class Disguise {
|
||||||
|
|
||||||
if (getEntity() instanceof Player && !getWatcher().hasCustomName()) {
|
if (getEntity() instanceof Player && !getWatcher().hasCustomName()) {
|
||||||
getWatcher().setCustomName("");
|
getWatcher().setCustomName("");
|
||||||
|
getWatcher().setCustomNameVisible(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If a horse is disguised as a horse, it should obey parent no gravity rule
|
// If a horse is disguised as a horse, it should obey parent no gravity rule
|
||||||
|
|
Loading…
Reference in a new issue