diff --git a/src/main/java/org/infernalstudios/miningmaster/client/gui/screen/inventory/GemForgeScreen.java b/src/main/java/org/infernalstudios/miningmaster/client/gui/screen/inventory/GemForgeScreen.java index 162794a..eb46e5a 100644 --- a/src/main/java/org/infernalstudios/miningmaster/client/gui/screen/inventory/GemForgeScreen.java +++ b/src/main/java/org/infernalstudios/miningmaster/client/gui/screen/inventory/GemForgeScreen.java @@ -18,7 +18,6 @@ import com.mojang.blaze3d.systems.RenderSystem; import com.mojang.blaze3d.vertex.PoseStack; -import net.minecraft.client.Minecraft; import net.minecraft.client.gui.components.AbstractButton; import net.minecraft.client.gui.components.ImageButton; import net.minecraft.client.gui.narration.NarrationElementOutput; @@ -184,8 +183,9 @@ protected Button(int x, int y, GemForgeScreen screen) { } public void renderButton(PoseStack matrixStack, int mouseX, int mouseY, float partialTicks) { - Minecraft.getInstance().getTextureManager().bindForSetup(GemForgeScreen.GUI_TEXTURE); + RenderSystem.setShader(GameRenderer::getPositionTexShader); RenderSystem.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F); + RenderSystem.setShaderTexture(0, GUI_TEXTURE); int i = 165; int j = 0; if (this.screen.menu.isForgeActive()) {