mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-27 02:39:07 +00:00
Fix page error in default gui config
This commit is contained in:
@@ -162,7 +162,7 @@ public abstract class RPGRegionsGUI {
|
||||
|
||||
forward.addItem(new GuiItem(forwardItem, event -> {
|
||||
event.setCancelled(true);
|
||||
if (pane.getPages() == 0 || pane.getPage() == pane.getPages()) return;
|
||||
if (pane.getPages() == 0 || pane.getPages() == 1) return;
|
||||
|
||||
pane.setPage(pane.getPage() + 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user