1 parent
68f9e0901f
commit
be9eab18ee
1 file changed
+1
-1
@@ -100,7 +100,7 @@ public class HopperCounter
|
|||||||
{
|
{
|
||||||
startTick = -1;
|
startTick = -1;
|
||||||
this.color = color;
|
this.color = color;
|
||||||
String hexColor = Integer.toHexString(color.getTextColor());
|
String hexColor = Integer.toHexString(color.getTextColor() & 0xFFFFFF); // don't get alpha
|
||||||
if (hexColor.length() < 6)
|
if (hexColor.length() < 6)
|
||||||
{
|
{
|
||||||
hexColor = "0".repeat(6 - hexColor.length()) + hexColor;
|
hexColor = "0".repeat(6 - hexColor.length()) + hexColor;
|
||||||
|
|||||||
Reference in new issue
Block a user