Skip to content

Commit

Permalink
add todo for flower tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
artemisSystem committed Dec 10, 2024
1 parent 8654e44 commit 03113dc
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public SpecialFlowerBlockItem(Block block1, Properties props) {
@Override
public void appendHoverText(@NotNull ItemStack stack, TooltipContext context, @NotNull List<Component> tooltip, @NotNull TooltipFlag flag) {
// Prevent crash when tooltips queried before configs load
// TODO: This should be moved to being builtin tooltip text components on the relevant items
if (BotaniaConfig.client() != null) {
if (stack.is(GENERATING)) {
tooltip.add(Component.translatable("botania.flowerType.generating").withStyle(ChatFormatting.ITALIC, ChatFormatting.BLUE));
Expand Down

0 comments on commit 03113dc

Please sign in to comment.