diff --git a/src/main/java/com/simibubi/create/foundation/utility/data/BlockStateGen.java b/src/main/java/com/simibubi/create/foundation/utility/data/BlockStateGen.java index d3eaf3691..a54d5982c 100644 --- a/src/main/java/com/simibubi/create/foundation/utility/data/BlockStateGen.java +++ b/src/main/java/com/simibubi/create/foundation/utility/data/BlockStateGen.java @@ -54,7 +54,7 @@ public class BlockStateGen { */ public static ItemModelBuilder customItemModel(@NonnullType DataGenContext ctx, @NonnullType RegistrateItemModelProvider prov) { - return prov.blockItem(ctx.getEntry()::getBlock, "/item"); + return prov.blockItem(() -> ctx.getEntry().getBlock(), "/item"); } }