perf: 优化 Page 相关 API
优化 Page 相关 API
This commit is contained in:
@@ -17,16 +17,8 @@ public class FixedPageHandler extends PageHandler {
|
||||
super(player);
|
||||
}
|
||||
|
||||
public FixedPageHandler(@NotNull HumanEntity player, @NotNull String title) {
|
||||
super(player, title);
|
||||
}
|
||||
|
||||
public FixedPageHandler(@NotNull PageConfig pageConfig, @NotNull HumanEntity player) {
|
||||
super(pageConfig, player);
|
||||
}
|
||||
|
||||
public FixedPageHandler(@NotNull PageConfig pageConfig, @NotNull String title, @NotNull HumanEntity player) {
|
||||
super(pageConfig, title, player);
|
||||
public FixedPageHandler(@NotNull PageConfig config, @NotNull HumanEntity player) {
|
||||
super(config, player);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@@ -35,18 +35,8 @@ public abstract class PageableHandler<E extends PageElement> extends FixedPageHa
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
public PageableHandler(@NotNull HumanEntity player, @NotNull String title, int page) {
|
||||
super(player, title);
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
public PageableHandler(@NotNull PageConfig pageConfig, @NotNull HumanEntity player, int page) {
|
||||
super(pageConfig, player);
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
public PageableHandler(@NotNull PageConfig pageConfig, @NotNull String title, @NotNull HumanEntity player, int page) {
|
||||
super(pageConfig, title, player);
|
||||
public PageableHandler(@NotNull PageConfig config, @NotNull HumanEntity player, int page) {
|
||||
super(config, player);
|
||||
this.page = page;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user