修复了无法修改管理员发光效果的bug
Java CI-CD with Maven / build (push) Successful in 8m38s Details

This commit is contained in:
zhangyuheng 2024-06-24 13:49:46 +08:00
parent f608041e9a
commit a090ea7bf1
2 changed files with 2 additions and 1 deletions

View File

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

View File

@ -59,6 +59,7 @@ public class PrivilegeInfo {
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())