diff --git a/paper/src/main/java/com/badbones69/crazyauctions/api/guis/Holder.java b/paper/src/main/java/com/badbones69/crazyauctions/api/guis/Holder.java index c659012..99167f1 100644 --- a/paper/src/main/java/com/badbones69/crazyauctions/api/guis/Holder.java +++ b/paper/src/main/java/com/badbones69/crazyauctions/api/guis/Holder.java @@ -80,7 +80,9 @@ public abstract class Holder implements InventoryHolder, Listener { return this.size - 9; } - public void setPage(final int page) { + public void setPage(int page) { + if (page <= 0) page = 1; + this.page = page; }