Don't wrap disguises in synchronize set, fixes #478
This commit is contained in:
parent
e696ee3f4f
commit
142f1c277e
@ -399,7 +399,7 @@ public class DisguiseUtilities {
|
||||
|
||||
public static void addDisguise(UUID entityId, TargetedDisguise disguise) {
|
||||
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]+") &&
|
||||
|
Loading…
Reference in New Issue
Block a user