mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-12-14 15:26:54 +01:00
Don't refresh disguise if they can't show a name anyways
This commit is contained in:
parent
45ecc68a2a
commit
f5090cc288
@ -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 New Issue
Block a user