From cd0f1d33c1b3fb12a60229502e38269d0c96e190 Mon Sep 17 00:00:00 2001 From: PepperCode1 <44146161+PepperCode1@users.noreply.github.com> Date: Sun, 14 Feb 2021 09:41:59 -0800 Subject: [PATCH] Fix FabricMaterialBuilder.notSolid having the wrong return type (#1308) Should be backwards compatible. --- .../api/object/builder/v1/block/FabricMaterialBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/api/object/builder/v1/block/FabricMaterialBuilder.java b/fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/api/object/builder/v1/block/FabricMaterialBuilder.java index 115b59d10..30e296ad8 100644 --- a/fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/api/object/builder/v1/block/FabricMaterialBuilder.java +++ b/fabric-object-builder-api-v1/src/main/java/net/fabricmc/fabric/api/object/builder/v1/block/FabricMaterialBuilder.java @@ -73,7 +73,7 @@ public class FabricMaterialBuilder extends Material.Builder { } @Override - public Material.Builder notSolid() { + public FabricMaterialBuilder notSolid() { super.notSolid(); return this; }