diff --git a/common/src/main/java/net/threetag/palladiumcore/registry/DeferredRegister.java b/common/src/main/java/net/threetag/palladiumcore/registry/DeferredRegister.java index 8b7ef8c..398a06c 100644 --- a/common/src/main/java/net/threetag/palladiumcore/registry/DeferredRegister.java +++ b/common/src/main/java/net/threetag/palladiumcore/registry/DeferredRegister.java @@ -94,8 +94,8 @@ public static DeferredRegister createInternal(String modId, ResourceKey Generic type of the registry * @return A new instance of a {@link DeferredRegister} */ - public static DeferredRegister create(String modId, RegistryBuilder registry) { - return create(modId, registry.getRegistryKey()); + public static DeferredRegister create(String modId, Registry registry) { + return create(modId, registry.key()); } }