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);
|
name = name.substring(0, 16);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isDisguiseInUse()) {
|
if (isDisguiseInUse() && isShowName()) {
|
||||||
if (stopDisguise()) {
|
if (stopDisguise()) {
|
||||||
playerName = name;
|
playerName = name;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user