From df443de6d775dc2acfc26d7f6271521f0d63fce8 Mon Sep 17 00:00:00 2001 From: iron431 <34083081+iron431@users.noreply.github.com> Date: Thu, 4 Jul 2024 20:18:58 -0500 Subject: [PATCH] Update AlchemistCauldronRecipeCategory.java --- .../ironsspellbooks/jei/AlchemistCauldronRecipeCategory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/redspace/ironsspellbooks/jei/AlchemistCauldronRecipeCategory.java b/src/main/java/io/redspace/ironsspellbooks/jei/AlchemistCauldronRecipeCategory.java index 53403797d..714d73d5c 100644 --- a/src/main/java/io/redspace/ironsspellbooks/jei/AlchemistCauldronRecipeCategory.java +++ b/src/main/java/io/redspace/ironsspellbooks/jei/AlchemistCauldronRecipeCategory.java @@ -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()); } } }