mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-04 08:59:47 +01:00
Players disguised will by default, have an empty custom name on disguise to conceal if they have a custom name on the player entity.
This commit is contained in:
parent
0c4262a6ff
commit
2c78c012c0
@ -711,6 +711,10 @@ public abstract class Disguise {
|
||||
}
|
||||
|
||||
getWatcher().setNoGravity(true);
|
||||
|
||||
if (getEntity() instanceof Player && !getWatcher().hasCustomName()) {
|
||||
getWatcher().setCustomName("");
|
||||
}
|
||||
}
|
||||
|
||||
public Disguise setVelocitySent(boolean sendVelocity) {
|
||||
|
Loading…
Reference in New Issue
Block a user