mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 06:07:27 +00:00
Fix Stack Overflow
This commit is contained in:
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) {
|
||||
|
||||
Reference in new issue
Block a user