Skip to content

Commit

Permalink
fix #155
Browse files Browse the repository at this point in the history
  • Loading branch information
Uraneptus committed Sep 15, 2024
1 parent 73e62b8 commit 36606a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Xplat/src/main/java/vazkii/neat/HealthBarRenderer.java
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,8 @@ public static void hookRender(Entity entity, PoseStack poseStack, MultiBufferSou
return;
}

if (!shouldShowPlate(living, mc.gameRenderer.getMainCamera().getEntity())) {
//This was previously mc.gameRenderer.getMainCamera().getEntity() but that caused an incompatibility with RealCamera
if (!shouldShowPlate(living, mc.cameraEntity)) {
return;
}

Expand Down

0 comments on commit 36606a3

Please sign in to comment.