pass pack to ConfigType#registrySupplier

This commit is contained in:
dfsek
2021-07-20 15:09:51 -07:00
parent c1dfcafa1d
commit d807abb165
6 changed files with 11 additions and 11 deletions
@@ -35,7 +35,7 @@ public class TreeConfigType implements ConfigType<TreeTemplate, Tree> {
}
@Override
public Supplier<OpenRegistry<Tree>> registrySupplier() {
return pack.getRegistryFactory()::create;
public Supplier<OpenRegistry<Tree>> registrySupplier(ConfigPack pack) {
return this.pack.getRegistryFactory()::create;
}
}