Skip to content

Commit

Permalink
add extra space to lines
Browse files Browse the repository at this point in the history
  • Loading branch information
ghzdude committed Jan 30, 2025
1 parent 50dc0b5 commit 12ad632
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,9 @@ public void readOnServer(int id, PacketBuffer buf) {}

protected void build(IRichTextBuilder<?> richText) {
if (dirty) build();
richText.addDrawableLines(this.textList);
for (IDrawable drawable : textList) {
richText.addLine(drawable).spaceLine(2);
}
}

protected void build() {
Expand Down

0 comments on commit 12ad632

Please sign in to comment.