mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-05 09:09:40 +01:00
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