Skip to content

Commit

Permalink
Fix RenderHelper#renderOutline color (#288)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinthegreat1 committed Sep 10, 2023
1 parent 5069151 commit 0875a0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ public static void renderOutline(WorldRenderContext context, Box box, float[] co
matrices.translate(-camera.getX(), -camera.getY(), -camera.getZ());

buffer.begin(DrawMode.LINES, VertexFormats.LINES);
WorldRenderer.drawBox(matrices, buffer, box, colorComponents[0] * 255f, colorComponents[1] * 255f, colorComponents[2] * 255f, 1f);
WorldRenderer.drawBox(matrices, buffer, box, colorComponents[0], colorComponents[1], colorComponents[2], 1f);
tessellator.draw();

matrices.pop();
Expand Down

0 comments on commit 0875a0d

Please sign in to comment.