mirror of
https://github.com/ColdeZhang/Dominion.git
synced 2024-12-25 12:28:58 +08:00
优化选择成员界面副标题内容
This commit is contained in:
parent
e2508904f4
commit
aa30f178de
@ -37,11 +37,9 @@ public class SelectMember {
|
|||||||
int backPage = getPage(args, 3);
|
int backPage = getPage(args, 3);
|
||||||
ListView view = ListView.create(10, "/dominion select_member_add_group " + dominion.getName() + " " + group.getName() + " " + backPage);
|
ListView view = ListView.create(10, "/dominion select_member_add_group " + dominion.getName() + " " + group.getName() + " " + backPage);
|
||||||
view.title("选择成员");
|
view.title("选择成员");
|
||||||
view.navigator(
|
Line sub = Line.create().append("选择成员添加到权限组 " + group.getName())
|
||||||
Line.create()
|
.append(Button.create("返回").setExecuteCommand("/dominion group_list " + dominion.getName() + " " + backPage).build());
|
||||||
.append("添加到权限组 " + group.getName())
|
view.subtitle(sub);
|
||||||
.append(Button.create("返回").setExecuteCommand("/dominion group_list " + dominion.getName() + " " + backPage).build())
|
|
||||||
);
|
|
||||||
List<PlayerPrivilegeDTO> members = PlayerPrivilegeDTO.selectByGroupId(-1);
|
List<PlayerPrivilegeDTO> members = PlayerPrivilegeDTO.selectByGroupId(-1);
|
||||||
for (PlayerPrivilegeDTO member : members) {
|
for (PlayerPrivilegeDTO member : members) {
|
||||||
PlayerDTO p = PlayerDTO.select(member.getPlayerUUID());
|
PlayerDTO p = PlayerDTO.select(member.getPlayerUUID());
|
||||||
|
Loading…
Reference in New Issue
Block a user