Skip to content

Commit

Permalink
Merge pull request #24 from Ramen5914/3-crossed-out-arrow-shows-up-at…
Browse files Browse the repository at this point in the history
…-the-wrong-time-and-the-wrong-place

Fixed error sprite location
  • Loading branch information
Ramen5914 authored Sep 15, 2024
2 parents 3af3ec4 + ee09ecc commit e780d15
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ loader_version_range=[4,)
mod_id=ramensadditions
mod_name=Ramen's Additions
mod_license=GNU GPLv3
mod_version=0.2.0
mod_version=0.2.1
mod_group_id=net.ramen5914.ramensadditions
mod_authors=Omar Rahman (Ramen5914)
mod_description=A collection of small additions to Minecraft that I wish were in the game.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,9 @@ protected void renderBg(GuiGraphics guiGraphics, float partialTick, int mouseX,
int j = (this.height - this.imageHeight) / 2;

guiGraphics.blit(ADVANCED_GRINDSTONE_BACKGROUND, i, j, 0, 0, this.imageWidth, this.imageHeight);

if ((this.menu.getSlot(0).hasItem() || this.menu.getSlot(1).hasItem()) && !this.menu.getSlot(2).hasItem()) {
guiGraphics.blitSprite(ERROR_SPRITE, i + 92, j + 31, 28, 21);
guiGraphics.blitSprite(ERROR_SPRITE, i + 120, j + 34, 15, 15);
}
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions update.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"1.0.0": "First release of my mod."
},
"promos": {
"1.21.1-latest": "0.2.0",
"1.21.1-recommended": "0.2.0"
"1.21.1-latest": "0.2.1",
"1.21.1-recommended": "0.2.1"
},
"versions": "1.21.1"
}

0 comments on commit e780d15

Please sign in to comment.