Fixed self disguises and player disguise falling out of sync
This commit is contained in:
parent
15c7e79e20
commit
28f70c1963
@ -324,6 +324,9 @@ public class DisguiseUtilities {
|
|||||||
}
|
}
|
||||||
if (DisguiseUtilities.isDisguiseInUse(disguise)) {
|
if (DisguiseUtilities.isDisguiseInUse(disguise)) {
|
||||||
DisguiseUtilities.refreshTrackers((TargetedDisguise) disguise);
|
DisguiseUtilities.refreshTrackers((TargetedDisguise) disguise);
|
||||||
|
if (disguise.getEntity() instanceof Player && disguise.isSelfDisguiseVisible()) {
|
||||||
|
DisguiseUtilities.sendSelfDisguise((Player) disguise.getEntity());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user