Try avoid disguises refreshing when not needed
This commit is contained in:
parent
77fa52701f
commit
914a17ba20
@ -932,7 +932,7 @@ public abstract class Disguise {
|
||||
|
||||
// If this disguise is active
|
||||
// Remove the disguise from the current disguises.
|
||||
if (DisguiseUtilities.removeDisguise((TargetedDisguise) this)) {
|
||||
if (DisguiseUtilities.removeDisguise((TargetedDisguise) this) && !disguiseBeingReplaced) {
|
||||
if (getEntity() instanceof Player) {
|
||||
DisguiseUtilities.removeSelfDisguise(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user