Skip to content

Commit

Permalink
修复了无法修改管理员发光效果的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdeZhang committed Jun 24, 2024
1 parent f608041 commit a090ea7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>cn.lunadeer</groupId>
<artifactId>Dominion</artifactId>
<version>1.33.4-beta</version>
<version>1.33.5-beta</version>
<packaging>jar</packaging>

<name>Dominion</name>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/cn/lunadeer/dominion/tuis/PrivilegeInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public static void show(CommandSender sender, String[] args) {
view.add(Line.create()
.append(Button.createGreen("☑").setExecuteCommand("/dominion set_privilege " + playerName + " admin false " + dominion.getName() + " " + page).build())
.append("管理员"));
view.add(createOption(Flag.GLOW, privilege.getFlagValue(Flag.GLOW), playerName, dominion.getName(), page));
} else {
view.add(Line.create()
.append(Button.createRed("☐").setExecuteCommand("/dominion set_privilege " + playerName + " admin true " + dominion.getName() + " " + page).build())
Expand Down

0 comments on commit a090ea7

Please sign in to comment.