modify fix

This commit is contained in:
IThundxr 2024-04-29 15:18:13 -04:00
parent ded18c4ee6
commit 4f4b21c0a5
Failed to generate hash of commit

View file

@ -2,9 +2,8 @@ package com.simibubi.create.foundation.data;
import static com.simibubi.create.foundation.data.TagGen.pickaxeOnly;
import java.util.Collections;
import java.util.IdentityHashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.function.Function;
@ -53,7 +52,7 @@ import net.minecraftforge.fml.DistExecutor;
import net.minecraftforge.registries.RegistryObject;
public class CreateRegistrate extends AbstractRegistrate<CreateRegistrate> {
private static final Map<RegistryEntry<?>, RegistryObject<CreativeModeTab>> TAB_LOOKUP = Collections.synchronizedMap(new IdentityHashMap<>());
private static final Map<RegistryEntry<?>, RegistryObject<CreativeModeTab>> TAB_LOOKUP = new ConcurrentHashMap<>();
@Nullable
protected Function<Item, TooltipModifier> currentTooltipModifierFactory;