Skip to content
This repository was archived by the owner on Nov 28, 2025. It is now read-only.

Commit ec3969c

Browse files
committed
(1.21.4) fix hitcolor having red & blue channels swapped
1 parent f402897 commit ec3969c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

1.21.4/src/main/java/io/github/axolotlclient/config/AxolotlClientConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ public class AxolotlClientConfig {
6666
NativeImage nativeImage = texture.getPixels();
6767
if (nativeImage != null) {
6868
int color = 255 - value.getAlpha();
69-
color = (color << 8) + value.getBlue();
70-
color = (color << 8) + value.getGreen();
7169
color = (color << 8) + value.getRed();
70+
color = (color << 8) + value.getGreen();
71+
color = (color << 8) + value.getBlue();
7272

7373
for (int i = 0; i < 8; ++i) {
7474
for (int j = 0; j < 8; ++j) {

1.21.4/src/main/java/io/github/axolotlclient/mixin/OverlayTextureMixin.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ public abstract class OverlayTextureMixin {
3737

3838
Color c = AxolotlClient.CONFIG.hitColor.get();
3939
int color = 255 - c.getAlpha();
40-
color = (color << 8) + c.getBlue();
41-
color = (color << 8) + c.getGreen();
4240
color = (color << 8) + c.getRed();
41+
color = (color << 8) + c.getGreen();
42+
color = (color << 8) + c.getBlue();
4343
return color;
4444
}
4545
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ org.gradle.parallel=true
66
axolotlclient.modules.all=true
77

88
# Mod Properties
9-
version=3.1.1-rc.10
9+
version=3.1.1-rc.11
1010

1111
maven_group=io.github.axolotlclient
1212

0 commit comments

Comments
 (0)