Skip to content

Commit df443de

Browse files
committed
Update AlchemistCauldronRecipeCategory.java
1 parent 66f920c commit df443de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/redspace/ironsspellbooks/jei/AlchemistCauldronRecipeCategory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ public void draw(@NotNull AlchemistCauldronJeiRecipe recipe, IRecipeSlotsView re
116116
var font = Minecraft.getInstance().font;
117117
int y = (getHeight() / 2) - 14;
118118
int x = (getWidth() - font.width(inputText)) / 2;
119-
font.drawShadow(poseStack, inputText, x, y, ChatFormatting.RED.getColor());
119+
font.drawShadow(poseStack, inputText, x, y, Math.min(ServerConfigs.SCROLL_RECYCLE_CHANCE.get(), 1d) == 1d ? ChatFormatting.GREEN.getColor() : ChatFormatting.RED.getColor());
120120
}
121121
}
122122
}

0 commit comments

Comments
 (0)