Set custom name visible to false by default on players disguised
This commit is contained in:
parent
b527b3d166
commit
a7014ec9e1
@ -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 New Issue
Block a user