diff --git a/src/main/java/com/gregtechceu/gtceu/integration/map/cache/DimensionCache.java b/src/main/java/com/gregtechceu/gtceu/integration/map/cache/DimensionCache.java index 2778e1a71c..58b69fbd7c 100644 --- a/src/main/java/com/gregtechceu/gtceu/integration/map/cache/DimensionCache.java +++ b/src/main/java/com/gregtechceu/gtceu/integration/map/cache/DimensionCache.java @@ -10,14 +10,14 @@ import lombok.Getter; import java.util.ArrayList; -import java.util.HashMap; import java.util.List; -import java.util.Map; +import java.util.concurrent.ConcurrentHashMap; +import java.util.concurrent.ConcurrentMap; public class DimensionCache { @Getter - private final Map cache = new HashMap<>(); + private final ConcurrentMap cache = new ConcurrentHashMap<>(); public boolean dirty;