perf: 优化 Page 相关 API

优化 Page 相关 API
This commit is contained in:
2022-10-10 01:18:19 +08:00
parent e02d7d95ce
commit 4a2a432221
2 changed files with 4 additions and 22 deletions

View File

@@ -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

View File

@@ -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;
}