From b122d09abc2027abc8f921ce9b093d54c41499ed Mon Sep 17 00:00:00 2001 From: Julienraptor01 Date: Tue, 19 Apr 2022 23:45:17 +0200 Subject: [PATCH] Dumb error fix --- src/main/java/me/shedaniel/cimtb/CimtbWailaPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/me/shedaniel/cimtb/CimtbWailaPlugin.java b/src/main/java/me/shedaniel/cimtb/CimtbWailaPlugin.java index db0d0da..5129d5e 100644 --- a/src/main/java/me/shedaniel/cimtb/CimtbWailaPlugin.java +++ b/src/main/java/me/shedaniel/cimtb/CimtbWailaPlugin.java @@ -46,7 +46,7 @@ public void appendBody(ITooltip tooltipTexts, IBlockAccessor accessor, IPluginCo int level = entry.getRight(); boolean harvestable = !state.requiresCorrectToolForDrops() || (!stack.isEmpty() && Cimtb.isEffective(stack, state)); - tooltipTexts.addLine(new TranslatableComponent("cimtb.harvestable").withStyle(ChatFormatting.GRAY)).append(new TranslatableComponent("cimtb.harvestable.symbol." + harvestable)); + tooltipTexts.addLine(new TranslatableComponent("cimtb.harvestable").withStyle(ChatFormatting.GRAY).append(new TranslatableComponent("cimtb.harvestable.symbol." + harvestable))); tooltipTexts.addLine(new TranslatableComponent("cimtb.effective_tool").withStyle(ChatFormatting.GRAY).append(handler.getToolDisplay())); if (level >= 0 && handler.toolType() == "pickaxes") {