From 6beb23041c09ff2fde6dfa73be52f89463d8b7cb Mon Sep 17 00:00:00 2001 From: IThundxr Date: Tue, 9 Jul 2024 11:19:57 -0400 Subject: [PATCH] fix: make datainfo public to allow for adding more providers --- .../tterrag/registrate/providers/RegistrateDataProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/tterrag/registrate/providers/RegistrateDataProvider.java b/src/main/java/com/tterrag/registrate/providers/RegistrateDataProvider.java index 34ba07e9..9dcb1ef3 100644 --- a/src/main/java/com/tterrag/registrate/providers/RegistrateDataProvider.java +++ b/src/main/java/com/tterrag/registrate/providers/RegistrateDataProvider.java @@ -40,7 +40,7 @@ public class RegistrateDataProvider implements DataProvider { private final Map, RegistrateProvider> subProviders = new LinkedHashMap<>(); private final CompletableFuture registriesLookup; - record DataInfo(FabricDataOutput output, ExistingFileHelper helper, CompletableFuture registriesLookup) {} + public record DataInfo(FabricDataOutput output, ExistingFileHelper helper, CompletableFuture registriesLookup) {} public RegistrateDataProvider(AbstractRegistrate parent, String modid, ExistingFileHelper helper, FabricDataOutput output, CompletableFuture registriesLookup) { this.mod = modid;