Skip to content

Commit cdb679d

Browse files
committed
FIX IT
1 parent d7408f2 commit cdb679d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/lovetropics/extras/client/ClientPlayerSensorEffects.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ private static Vector3f toScreenPos(PoseStack poseStack, float x, float y, float
213213
poseStack.last().pose().transformPosition(pos);
214214
RenderSystem.getModelViewMatrix().transformPosition(pos);
215215
RenderSystem.getProjectionMatrix().transformProject(pos);
216-
return pos.set((pos.x + 1.0f) / 2.0f, 1.0f - (pos.y + 1.0f) / 2.0f, 0.0f);
216+
return pos.set((pos.x + 1.0f) / 2.0f, 1.0f - (pos.y + 1.0f) / 2.0f, pos.z);
217217
}
218218

219219
private record CapturedScreenBoxes(UUID playerId, ScreenBox face) {

0 commit comments

Comments
 (0)