mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-25 06:27:41 +01:00
Fix build error
This commit is contained in:
parent
6d67c6e30b
commit
505b251132
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ public class BlockStateGen {
|
||||||
*/
|
*/
|
||||||
public static ItemModelBuilder customItemModel(@NonnullType DataGenContext<Item, ? extends BlockItem> ctx,
|
public static ItemModelBuilder customItemModel(@NonnullType DataGenContext<Item, ? extends BlockItem> ctx,
|
||||||
@NonnullType RegistrateItemModelProvider prov) {
|
@NonnullType RegistrateItemModelProvider prov) {
|
||||||
return prov.blockItem(ctx.getEntry()::getBlock, "/item");
|
return prov.blockItem(() -> ctx.getEntry().getBlock(), "/item");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue