mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-10-26 05:50:08 +00:00
pass pack to ConfigType#registrySupplier
This commit is contained in:
1 parent
c1dfcafa1d
commit
d807abb165
6 files changed
+11
-11
No files matched your search
+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