mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-19 15:20:55 +00:00
pass pack to ConfigType#registrySupplier
This commit is contained in:
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user