feat(bukkit): 添加新的api

This commit is contained in:
2023-05-01 01:33:06 +08:00
parent 9bb6fefa2b
commit 0f4b24ab11

View File

@@ -56,6 +56,10 @@ public abstract class PageableHandler<E> extends FixedPageHandler {
public abstract void onClickElement(@NotNull ClickType clickType, @NotNull InventoryAction action, @NotNull E element);
public String getElementButtonName() {
return elementButtonName;
}
@NotNull
public String getElementButtonName(@NotNull E element) {
return elementButtonName;