Skip to content

Commit

Permalink
Update AlchemistCauldronRecipeCategory.java
Browse files Browse the repository at this point in the history
  • Loading branch information
iron431 committed Jul 5, 2024
1 parent 66f920c commit df443de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public void draw(@NotNull AlchemistCauldronJeiRecipe recipe, IRecipeSlotsView re
var font = Minecraft.getInstance().font;
int y = (getHeight() / 2) - 14;
int x = (getWidth() - font.width(inputText)) / 2;
font.drawShadow(poseStack, inputText, x, y, ChatFormatting.RED.getColor());
font.drawShadow(poseStack, inputText, x, y, Math.min(ServerConfigs.SCROLL_RECYCLE_CHANCE.get(), 1d) == 1d ? ChatFormatting.GREEN.getColor() : ChatFormatting.RED.getColor());
}
}
}

0 comments on commit df443de

Please sign in to comment.