Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
yurisuika committed Oct 25, 2024
1 parent 94cf6a9 commit a9b3e4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public void render(GuiGraphics guiGraphics, int mouseX, int mouseY, float partia
} else {
guiGraphics.blitSprite(ResourceLocation.tryParse("hud/hotbar_selection"), -182 - 1 + slot, offset - 23, 24, 23);
if (texture == Texture.PATCH || (texture == Texture.AUTO && !Pack.getPack())) {
((GuiGraphicsInvoker)guiGraphics).invokeInnerBlit(ResourceLocation.tryParse("textures/gui/sprites/hud/hotbar_selection.png"), -182 - 1 + slot, -182 - 1 + slot + 24, offset, offset + 1, 0, 0, 1, 1 / 23.0F, 0);
((GuiGraphicsInvoker) guiGraphics).invokeInnerBlit(ResourceLocation.tryParse("textures/gui/sprites/hud/hotbar_selection.png"), -182 - 1 + slot, -182 - 1 + slot + 24, offset, offset + 1, 0, 0, 1, 1 / 23.0F, 0);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private void patchHotbarSelector(GuiGraphics guiGraphics, float partialTick, Cal
if (Option.getTexture() == Texture.PATCH || (Option.getTexture() == Texture.AUTO && !Pack.getPack())) {
int x = (guiGraphics.guiWidth() / 2) - 92 + player.getInventory().selected * 20;
int y = guiGraphics.guiHeight();
((GuiGraphicsInvoker)guiGraphics).invokeInnerBlit(ResourceLocation.tryParse("textures/gui/sprites/hud/hotbar_selection.png"), x, x + 24, y, y + 1, 0, 0, 1, 1 / 23.0F, 0);
((GuiGraphicsInvoker) guiGraphics).invokeInnerBlit(ResourceLocation.tryParse("textures/gui/sprites/hud/hotbar_selection.png"), x, x + 24, y, y + 1, 0, 0, 1, 1 / 23.0F, 0);
}
}

Expand Down

0 comments on commit a9b3e4f

Please sign in to comment.