Skip to content

Commit

Permalink
fix: 修复GuiPage空构造函数构建的对象defaultArea为null
Browse files Browse the repository at this point in the history
  • Loading branch information
huanmeng-qwq committed Jan 6, 2025
1 parent 94796ec commit 201860e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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<br>
Expand All @@ -32,6 +32,7 @@ public GuiPage(@NonNull Player player, @NonNull List<? extends Button> allItems,

public GuiPage() {
super();
this.defaultArea = pageArea(new PageArea());
}

@NonNull
Expand Down

0 comments on commit 201860e

Please sign in to comment.