From aa30f178de4299238fa45f49cb48f84ac952e280 Mon Sep 17 00:00:00 2001 From: zhangyuheng Date: Sat, 29 Jun 2024 11:19:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=80=89=E6=8B=A9=E6=88=90?= =?UTF-8?q?=E5=91=98=E7=95=8C=E9=9D=A2=E5=89=AF=E6=A0=87=E9=A2=98=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/cn/lunadeer/dominion/tuis/SelectMember.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/java/cn/lunadeer/dominion/tuis/SelectMember.java b/src/main/java/cn/lunadeer/dominion/tuis/SelectMember.java index 276ff06..4eeda86 100644 --- a/src/main/java/cn/lunadeer/dominion/tuis/SelectMember.java +++ b/src/main/java/cn/lunadeer/dominion/tuis/SelectMember.java @@ -37,11 +37,9 @@ public class SelectMember { int backPage = getPage(args, 3); ListView view = ListView.create(10, "/dominion select_member_add_group " + dominion.getName() + " " + group.getName() + " " + backPage); view.title("选择成员"); - view.navigator( - Line.create() - .append("添加到权限组 " + group.getName()) - .append(Button.create("返回").setExecuteCommand("/dominion group_list " + dominion.getName() + " " + backPage).build()) - ); + Line sub = Line.create().append("选择成员添加到权限组 " + group.getName()) + .append(Button.create("返回").setExecuteCommand("/dominion group_list " + dominion.getName() + " " + backPage).build()); + view.subtitle(sub); List members = PlayerPrivilegeDTO.selectByGroupId(-1); for (PlayerPrivilegeDTO member : members) { PlayerDTO p = PlayerDTO.select(member.getPlayerUUID());