Skip to content

Commit 2b88a81

Browse files
Fix text rotation to face the camera
1 parent c1631ab commit 2b88a81

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main/java/com/kevinthegreat/skyblockmod/util/RenderHelper.java

-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ public static void renderText(WorldRenderContext context, OrderedText text, Vec3
180180

181181
matrices.push();
182182
matrices.translate(pos.getX() - camera.getX(), pos.getY() - camera.getY(), pos.getZ() - camera.getZ());
183-
matrices.peek().getPositionMatrix().mul(RenderSystem.getModelViewMatrix());
184183
matrices.multiply(context.camera().getRotation());
185184
matrices.scale(scale, -scale, scale);
186185

0 commit comments

Comments
 (0)