Skip to content

Commit

Permalink
Dumb error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Julienraptor01 committed Apr 19, 2022
1 parent 9174bdc commit 3221318
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/me/shedaniel/cimtb/CimtbWailaPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -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() != "shears" || level > 1) {
Expand Down

0 comments on commit 3221318

Please sign in to comment.