Skip to content

Commit

Permalink
fix CME in SkullModifier
Browse files Browse the repository at this point in the history
  • Loading branch information
HSGamer committed Jul 5, 2024
1 parent d66decc commit c3580ce
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import java.lang.reflect.Method;
import java.net.URL;
import java.util.*;
import java.util.concurrent.ConcurrentHashMap;
import java.util.regex.Pattern;

/**
Expand All @@ -34,7 +35,7 @@ public class SkullModifier implements ItemMetaModifier, ItemMetaComparator {
private static final Pattern MOJANG_SHA256_APPROX = Pattern.compile("[0-9a-z]{55,70}");
private static final SkullMeta delegateSkullMeta;
private static final SkullHandler skullHandler = new SkullHandler();
private static final Map<String, GameProfile> cache = new HashMap<>();
private static final Map<String, GameProfile> cache = new ConcurrentHashMap<>();

static {
ItemStack itemStack;
Expand Down

0 comments on commit c3580ce

Please sign in to comment.