Don't wrap disguises in synchronize set, fixes #478
This commit is contained in:
		| @@ -399,7 +399,7 @@ public class DisguiseUtilities { | |||||||
|  |  | ||||||
|     public static void addDisguise(UUID entityId, TargetedDisguise disguise) { |     public static void addDisguise(UUID entityId, TargetedDisguise disguise) { | ||||||
|         if (!getDisguises().containsKey(entityId)) { |         if (!getDisguises().containsKey(entityId)) { | ||||||
|             getDisguises().put(entityId, Collections.synchronizedSet(new HashSet<>())); |             getDisguises().put(entityId, new HashSet<>()); | ||||||
|         } |         } | ||||||
|  |  | ||||||
|         if ("a%%__USER__%%a".equals("a12345a") || (LibsPremium.getUserID().matches("[0-9]+") && |         if ("a%%__USER__%%a".equals("a12345a") || (LibsPremium.getUserID().matches("[0-9]+") && | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user