Skip to content

Commit

Permalink
Fix teal sign testmod crash by registering the wood type. (#3599)
Browse files Browse the repository at this point in the history
(cherry picked from commit 98c5af8)
  • Loading branch information
modmuss50 committed Feb 18, 2024
1 parent f9b333c commit 080016e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ public TealHangingSign createBlockEntity(BlockPos pos, BlockState state) {

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

0 comments on commit 080016e

Please sign in to comment.