Skip to content

Commit

Permalink
fixed black box
Browse files Browse the repository at this point in the history
  • Loading branch information
ImToggle committed Jul 8, 2024
1 parent 32cc2e5 commit 11b0a9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ object CrosshairRenderer {
for (y in 0 until size) {
for (x in 0 until size) {
icon.getRGB(x, y).let {
if (it != 0) vanilla.textureData[x + y * size] = it
if (it != -16777216) vanilla.textureData[x + y * size] = it
}
}
}
Expand Down

0 comments on commit 11b0a9d

Please sign in to comment.