Merge pull request #255 from Tuomasz/fix-show-next-page

Fix show next page
This commit is contained in:
RedDevel2
2024-02-22 01:03:09 +01:00
committed by GitHub

View File

@@ -82,7 +82,7 @@ public class MainGroupGUI extends AbstractGroupGUI {
}
ClickableInventory ci = new ClickableInventory(54, g.getName());
final List<Clickable> clicks = constructClickables();
if (clicks.size() < 45 * currentPage) {
if (clicks.size() < 36 * currentPage) {
// would show an empty page, so go to previous
currentPage--;
showScreen();