Fix Stack Overflow

This commit is contained in:
Kam committed 2025-02-28 13:40:18 -05:00
1 parent cd487e1122
commit 033d45878d
1 file changed
+3 -3
@@ -205,10 +205,10 @@ public class GuiProfiles extends GuiCNPCInventory implements ISubGuiListener, IC
}
maxScrollY = Math.max(0, y - (guiTop + ySize - 35));
}
GL11.glPopMatrix();
GL11.glDisable(GL11.GL_SCISSOR_TEST);
GL11.glPopMatrix();
GL11.glDisable(GL11.GL_SCISSOR_TEST);
}
// Draw scrollbar only if needed
if (maxScrollY > 0) {