Skip to content

Commit

Permalink
Wtf formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Emirlol committed Nov 22, 2024
1 parent e112e64 commit 24567a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ protected void drawSlot(DrawContext context, Slot slot) {
protected void drawBackground(DrawContext context, float delta, int mouseX, int mouseY) {
int i = this.x;
int j = (this.height - this.backgroundHeight) / 2;
context.drawTexture(RenderLayer::getGuiTextured, TEXTURE, i, j, 0, 0, this.backgroundWidth, this.backgroundHeight, 256, 256);
context.drawTexture(RenderLayer::getGuiTextured, TEXTURE, i, j, 0, 0, this.backgroundWidth, this.backgroundHeight, 256, 256);
//4 px of margin to allow some space for custom resource packs that have size differences on the crafting table/inventory textures
if (!handler.mirrorverse) context.drawTexture(RenderLayer::getGuiTextured, QUICK_CRAFT, i + 143, j - 3, 0, 0, 37, 90, 37, 90);
}
Expand Down

0 comments on commit 24567a9

Please sign in to comment.