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

This commit is contained in:
modmuss 2024-02-18 13:04:36 +00:00 committed by GitHub
parent ac5f7177e8
commit 98c5af8bcb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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