aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/de/hysky/skyblocker/skyblock/quicknav
diff options
context:
space:
mode:
authorAaron <51387595+AzureAaron@users.noreply.github.com>2024-06-18 16:52:24 -0400
committerGitHub <noreply@github.com>2024-06-18 16:52:24 -0400
commitd6b220a8e42a1fc2dbc955779e86d199851b4674 (patch)
treeb17f740786785e3a5b23f00fb327f11e1230fd88 /src/main/java/de/hysky/skyblocker/skyblock/quicknav
parent265c09b16b78b93a55745ce8dd008d405e735d6b (diff)
parent9d7604c52e4d786032168b4ef46ac7d8af0a5891 (diff)
downloadSkyblocker-d6b220a8e42a1fc2dbc955779e86d199851b4674.tar.gz
Skyblocker-d6b220a8e42a1fc2dbc955779e86d199851b4674.tar.bz2
Skyblocker-d6b220a8e42a1fc2dbc955779e86d199851b4674.zip
Merge pull request #769 from SkyblockerMod/1.21
1.21
Diffstat (limited to 'src/main/java/de/hysky/skyblocker/skyblock/quicknav')
-rw-r--r--src/main/java/de/hysky/skyblocker/skyblock/quicknav/QuickNavButton.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/de/hysky/skyblocker/skyblock/quicknav/QuickNavButton.java b/src/main/java/de/hysky/skyblocker/skyblock/quicknav/QuickNavButton.java
index f9ca0940..f7f33d0f 100644
--- a/src/main/java/de/hysky/skyblocker/skyblock/quicknav/QuickNavButton.java
+++ b/src/main/java/de/hysky/skyblocker/skyblock/quicknav/QuickNavButton.java
@@ -94,7 +94,7 @@ public class QuickNavButton extends ClickableWidget {
RenderSystem.disableDepthTest();
// Construct the texture identifier based on the index and toggled state
- Identifier tabTexture = new Identifier("container/creative_inventory/tab_" + (isTopTab() ? "top" : "bottom") + "_" + (toggled ? "selected" : "unselected") + "_" + (index % 7 + 1));
+ Identifier tabTexture = Identifier.ofVanilla("container/creative_inventory/tab_" + (isTopTab() ? "top" : "bottom") + "_" + (toggled ? "selected" : "unselected") + "_" + (index % 7 + 1));
// Render the button texture
context.drawGuiTexture(tabTexture, this.getX(), this.getY(), this.width, this.height);