We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40c7ebc commit 0bea32fCopy full SHA for 0bea32f
src/main/kotlin/org/polyfrost/crosshair/render/CrosshairRenderer.kt
@@ -53,8 +53,8 @@ object CrosshairRenderer {
53
fun updateVanilla() {
54
val icon = TextureUtil.readBufferedImage(mc.resourceManager.getResource(Gui.icons).inputStream)
55
vanilla = DynamicTexture(15, 15)
56
- for (y in 0..15) {
57
- for (x in 0..15) {
+ for (y in 0 until 15) {
+ for (x in 0 until 15) {
58
if (icon.getRGB(x, y) == -1) {
59
vanilla.textureData[x + y * 15] = -1
60
}
0 commit comments