pass pack to ConfigType#registrySupplier

This commit is contained in:
dfsek committed 2021-07-20 15:09:51 -07:00
1 parent c1dfcafa1d
commit d807abb165
6 files changed
+11 -11

No files matched your search

@@ -35,7 +35,7 @@ public class OreConfigType implements ConfigType<OreTemplate, Ore> {
}
@Override
public Supplier<OpenRegistry<Ore>> registrySupplier() {
return pack.getRegistryFactory()::create;
public Supplier<OpenRegistry<Ore>> registrySupplier(ConfigPack pack) {
return this.pack.getRegistryFactory()::create;
}
}