Skip to content

Commit 462a754

Browse files
committed
Fix using wrong array-length
1 parent 3cc0ea7 commit 462a754

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/de/bluecolored/bluemap/core/map/hires/blockmodel/ResourceModelRenderer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public ResourceModelRenderer(ResourcePack resourcePack, TextureGallery textureGa
8282
this.blockColorCalculator = resourcePack.getColorCalculatorFactory().createCalculator();
8383

8484
for (int i = 0; i < corners.length; i++) corners[i] = new VectorM3f(0, 0, 0);
85-
for (int i = 0; i < uvs.length; i++) rawUvs[i] = new VectorM2f(0, 0);
85+
for (int i = 0; i < rawUvs.length; i++) rawUvs[i] = new VectorM2f(0, 0);
8686
}
8787

8888
private final MatrixM4f modelTransform = new MatrixM4f();

0 commit comments

Comments
 (0)