Convert color class (#947)

Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
RanzuandMartin Robertz authored and GitHub committed 2026-06-16 10:21:20 +02:00
1 parent 937c1858a4
commit 860011036b
14 files changed
+83 -52

No files matched your search

@@ -19,6 +19,7 @@ import net.minecraft.util.EnumChatFormatting;
import codechicken.core.TaskProfiler.ProfilerResult;
import codechicken.lib.gui.GuiDraw;
import codechicken.nei.ColorUtils;
import codechicken.nei.NEIClientConfig;
import codechicken.nei.NEIClientUtils;
import codechicken.nei.PositionedStack;
@@ -161,7 +162,7 @@ public class ProfilerRecipeHandler implements ICraftingHandler, IUsageHandler {
3,
hovered ? 0xFFFFDD00 : 0xFF808080,
false);
GuiDraw.drawString(info.time, WIDTH - valueWidth, 3, 0xFF404040, false);
GuiDraw.drawString(info.time, WIDTH - valueWidth, 3, ColorUtils.textGray.getColor(), false);
}
private boolean isHandlerTitleHovered(int recipe, Point mouse) {