From 080016e424fc7bde7f0ed3ecb4f5291e10eecc1d Mon Sep 17 00:00:00 2001 From: modmuss Date: Sun, 18 Feb 2024 13:04:36 +0000 Subject: [PATCH] Fix teal sign testmod crash by registering the wood type. (#3599) (cherry picked from commit 98c5af8bcb97dc59821a979ee0307e7e8dc765b0) --- .../net/fabricmc/fabric/test/object/builder/TealSignTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fabric-object-builder-api-v1/src/testmod/java/net/fabricmc/fabric/test/object/builder/TealSignTest.java b/fabric-object-builder-api-v1/src/testmod/java/net/fabricmc/fabric/test/object/builder/TealSignTest.java index a6b0a6800..e551e7d2a 100644 --- a/fabric-object-builder-api-v1/src/testmod/java/net/fabricmc/fabric/test/object/builder/TealSignTest.java +++ b/fabric-object-builder-api-v1/src/testmod/java/net/fabricmc/fabric/test/object/builder/TealSignTest.java @@ -76,6 +76,8 @@ public class TealSignTest implements ModInitializer { @Override public void onInitialize() { + WoodType.register(TEAL_WOOD_TYPE); + Registry.register(Registries.BLOCK, ObjectBuilderTestConstants.id("teal_sign"), TEAL_SIGN); Registry.register(Registries.BLOCK, ObjectBuilderTestConstants.id("teal_wall_sign"), TEAL_WALL_SIGN); Registry.register(Registries.BLOCK, ObjectBuilderTestConstants.id("teal_hanging_sign"), TEAL_HANGING_SIGN);