This commit is contained in:
TropheusJ 2025-02-12 08:22:29 -05:00
parent b037598571
commit 51b3860f21

View file

@ -16,7 +16,6 @@ import com.simibubi.create.api.registry.AttachedRegistry;
public class AttachedRegistryImpl<K, V> implements AttachedRegistry<K, V> {
private static final Object nullMarker = new Object();
// all of these have identity semantics
private final Map<K, V> registrations = new IdentityHashMap<>();
private final List<Provider<K, V>> providers = new ArrayList<>();
private final Map<Provider<K, V>, Set<K>> providedKeys = new IdentityHashMap<>();