Fix CME, Closes #345

dev/0.11
modmuss50 2021-02-03 19:56:22 +00:00
parent 671328795e
commit b8058c693d
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ import java.io.FileWriter;
import java.io.IOException; import java.io.IOException;
import java.net.URL; import java.net.URL;
import java.util.Deque; import java.util.Deque;
import java.util.HashMap;
import java.util.Map; import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentLinkedDeque; import java.util.concurrent.ConcurrentLinkedDeque;
import java.util.concurrent.ExecutorService; import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors; import java.util.concurrent.Executors;
@ -89,7 +89,7 @@ public class MinecraftAssetsProvider {
} }
Gson gson = new Gson(); Gson gson = new Gson();
Map<String, String> checksumInfos = new HashMap<>(); Map<String, String> checksumInfos = new ConcurrentHashMap<>();
if (checksumInfo.exists()) { if (checksumInfo.exists()) {
try (FileReader reader = new FileReader(checksumInfo)) { try (FileReader reader = new FileReader(checksumInfo)) {