Fix teal sign testmod crash by registering the wood type. (#3599)

(cherry picked from commit 98c5af8bcb)
This commit is contained in:
modmuss 2024-02-18 13:04:36 +00:00 committed by modmuss50
parent f9b333cc5c
commit 080016e424

View file

@ -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);