Fix wrong color in HopperCounter displays

Fixes #2101
This commit is contained in:
altrisi committed 2025-11-26 13:44:31 +01:00
1 parent 68f9e0901f
commit be9eab18ee
1 file changed
+1 -1
@@ -100,7 +100,7 @@ public class HopperCounter
{
startTick = -1;
this.color = color;
String hexColor = Integer.toHexString(color.getTextColor());
String hexColor = Integer.toHexString(color.getTextColor() & 0xFFFFFF); // don't get alpha
if (hexColor.length() < 6)
{
hexColor = "0".repeat(6 - hexColor.length()) + hexColor;