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