diff options
author | Aaron <51387595+AzureAaron@users.noreply.github.com> | 2024-06-13 21:46:56 -0400 |
---|---|---|
committer | Aaron <51387595+AzureAaron@users.noreply.github.com> | 2024-06-18 16:34:37 -0400 |
commit | 3a53e51494523871870491617ae6add9b3fe87fe (patch) | |
tree | 2ad7c2e1718b3441f33d09e1be19c4051b0a1b44 /src/main/java/de/hysky/skyblocker/skyblock/quicknav | |
parent | 265c09b16b78b93a55745ce8dd008d405e735d6b (diff) | |
download | Skyblocker-3a53e51494523871870491617ae6add9b3fe87fe.tar.gz Skyblocker-3a53e51494523871870491617ae6add9b3fe87fe.tar.bz2 Skyblocker-3a53e51494523871870491617ae6add9b3fe87fe.zip |
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.java | 2 |
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); |