Skip to content

Commit

Permalink
hotfix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Raycoms committed Sep 13, 2024
1 parent 4a9275f commit 985c738
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ static void render(final WorldEventContext ctx)
ctx.poseStack.translate(bounds.minX - ctx.cameraPosition.x(), bounds.minY - ctx.cameraPosition.y(), bounds.minZ - ctx.cameraPosition.z());
bounds = bounds.move(-bounds.minX, -bounds.minY, -bounds.minZ);
}
else
else if (bounds != null)
{
ctx.pushPoseCameraToPos(pos);
bounds = bounds.move(pos.multiply(-1));
Expand Down

0 comments on commit 985c738

Please sign in to comment.