File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
bukkit/src/main/java/io/github/rothes/protocolstringreplacer/replacer Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 2727import java .util .List ;
2828import java .util .Map ;
2929import java .util .Set ;
30+ import java .util .concurrent .ConcurrentHashMap ;
3031import java .util .function .BiPredicate ;
3132import java .util .regex .Pattern ;
3233import java .util .regex .PatternSyntaxException ;
@@ -37,7 +38,7 @@ public class ReplacerManager {
3738 private char papiHead ;
3839 private char papiTail ;
3940 private final List <ReplacerConfig > replacerConfigList = new ArrayList <>();
40- private final HashMap <ItemStack , HandledItemCache > cacheTable = new HashMap <>();
41+ private final ConcurrentHashMap <ItemStack , HandledItemCache > cacheTable = new ConcurrentHashMap <>();
4142 private PsrTask cleanTask ;
4243
4344 public static class HandledItemCache {
You can’t perform that action at this time.
0 commit comments