Skip to content

Commit

Permalink
fix: rendering book icons with resource locations
Browse files Browse the repository at this point in the history
Closes #266
  • Loading branch information
klikli-dev committed Nov 19, 2024
1 parent 72115e2 commit d8a8381
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,12 @@ public void render(GuiGraphics guiGraphics, int x, int y) {
this.texture,
x, y,
0, 0,
16, 16,
16, 16,
this.width, this.height,
this.width, this.height
);

// guiGraphics.blit(RenderType::guiTextured, this.page.getImages()[this.index], x * 2 + 6, y * 2 + 6, 0, 0, 200, 200, 200, 200, 200, 200);
} else {
guiGraphics.renderItem(this.itemStack, x, y);
}
Expand Down

0 comments on commit d8a8381

Please sign in to comment.