Skip to content

Commit

Permalink
Merge pull request #603 from Crystal1921/1.21-test
Browse files Browse the repository at this point in the history
修复命名界面时按钮反向
  • Loading branch information
TartaricAcid authored Nov 5, 2024
2 parents 941fd49 + aad465f commit 3a5b4da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public void render(GuiGraphics graphics, int mouseX, int mouseY, float partialTi
for (Renderable renderable : this.renderables) {
renderable.render(graphics, mouseX, mouseY, partialTicks);
}
if (alwaysShow) {
if (!alwaysShow) {
graphics.blitSprite(CANCEL_SPRITE, middleX + 82, middleY - 26, 18, 18);
} else {
graphics.blitSprite(CONFIRM_SPRITE, middleX + 82, middleY - 26, 18, 18);
Expand Down

0 comments on commit 3a5b4da

Please sign in to comment.