mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-31 12:23:51 -07:00
Handle a missed case with our vanilla permissions override
This commit is contained in:
@@ -481,17 +481,20 @@
|
||||
return true;
|
||||
} else if (!"tell".equals(s) && !"help".equals(s) && !"me".equals(s) && !"trigger".equals(s)) {
|
||||
if (this.server.getPlayerList().isOp(this.getProfile())) {
|
||||
@@ -781,6 +963,9 @@
|
||||
@@ -781,6 +963,12 @@
|
||||
} else {
|
||||
return true;
|
||||
}
|
||||
+ */
|
||||
+ if ("@".equals(s)) {
|
||||
+ return getBukkitEntity().hasPermission("minecraft.command.selector");
|
||||
+ }
|
||||
+ return true;
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
public String w() {
|
||||
@@ -867,6 +1052,129 @@
|
||||
@@ -867,6 +1055,129 @@
|
||||
}
|
||||
|
||||
public IChatBaseComponent getPlayerListName() {
|
||||
|
Reference in New Issue
Block a user