Skip to content

Commit

Permalink
Fixed incorrect time on Time Display
Browse files Browse the repository at this point in the history
  • Loading branch information
ZiYueCommentary committed Aug 5, 2024
1 parent dc54395 commit 3c078c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void render(T entity, float tickDelta, GraphicsHolder graphicsHolder, int
});
MainRenderer.scheduleRender(QueuedRenderLayer.TEXT, (newGraphicsHolder, offset) -> {
storedMatrixTransformations2.transform(newGraphicsHolder, offset);
IDrawingExtension.drawStringWithFont(newGraphicsHolder, getFormattedTime(entity.getWorld2().getTime()), HorizontalAlignment.CENTER, VerticalAlignment.CENTER, HorizontalAlignment.CENTER, 0, 0.03F, -1, -1, 30, -3276781, -3276781, 2, false, light, true, null);
IDrawingExtension.drawStringWithFont(newGraphicsHolder, getFormattedTime(entity.getWorld2().getLunarTime()), HorizontalAlignment.CENTER, VerticalAlignment.CENTER, HorizontalAlignment.CENTER, 0, 0.03F, -1, -1, 30, -3276781, -3276781, 2, false, light, true, null);
newGraphicsHolder.pop();
});
}
Expand Down

0 comments on commit 3c078c2

Please sign in to comment.