This commit is contained in:
parent
d629b1daf7
commit
9de1b5cced
2
pom.xml
2
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>cn.lunadeer</groupId>
|
||||
<artifactId>MiniPlayerTitle</artifactId>
|
||||
<version>4.3.1</version>
|
||||
<version>4.3.2</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>MiniPlayerTitle</name>
|
||||
|
@ -201,7 +201,7 @@ public class TitleManage {
|
||||
Notification.error(sender, "该命令只能由玩家执行");
|
||||
return;
|
||||
}
|
||||
if (!sender.hasPermission("mplt.custom") || !sender.isOp()) {
|
||||
if (!sender.hasPermission("mplt.custom") && !sender.hasPermission("mplt.admin")) {
|
||||
Notification.error(sender, "你没有权限使用该命令");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user