mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
Merge pull request #255 from Tuomasz/fix-show-next-page
Fix show next page
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user