Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
ignore null warning
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealEmissions committed Mar 27, 2024
1 parent 61f4df4 commit bb8d349
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ public static void register(@NotNull RegisterEvent event) {
validBlocks.add(block.getRegistry().block().get());
}
BlockEntityType.Builder<DumbBlockEntity> builder = BlockEntityType.Builder.of(entity.getBlockEntityConstructor(), validBlocks.toArray(new Block[0]));
BlockEntityType<DumbBlockEntity> build = builder.build(null);
@SuppressWarnings("ConstantConditions") BlockEntityType<DumbBlockEntity> build = builder.build(null);
helper.register(ProjectNublar.resourceLocation(entity.getRegisterName()), build);
}
});
Expand Down

0 comments on commit bb8d349

Please sign in to comment.