diff --git a/core/src/main/java/me/huanmeng/opensource/bukkit/gui/impl/GuiPage.java b/core/src/main/java/me/huanmeng/opensource/bukkit/gui/impl/GuiPage.java index 36b21fa..af0d53a 100644 --- a/core/src/main/java/me/huanmeng/opensource/bukkit/gui/impl/GuiPage.java +++ b/core/src/main/java/me/huanmeng/opensource/bukkit/gui/impl/GuiPage.java @@ -9,7 +9,7 @@ import org.checkerframework.checker.nullness.qual.NonNull; import org.checkerframework.checker.nullness.qual.Nullable; -import java.util.*; +import java.util.List; /** * 2023/3/17
@@ -32,6 +32,7 @@ public GuiPage(@NonNull Player player, @NonNull List allItems, public GuiPage() { super(); + this.defaultArea = pageArea(new PageArea()); } @NonNull