Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-11-16 21:10:17 +01:00
12 Zeilen
493 B
Diff
12 Zeilen
493 B
Diff
--- a/net/minecraft/server/EntitySelector.java
|
|
+++ b/net/minecraft/server/EntitySelector.java
|
|
@@ -64,7 +64,7 @@
|
|
}
|
|
|
|
private void e(CommandListenerWrapper commandlistenerwrapper) throws CommandSyntaxException {
|
|
- if (this.checkPermissions && !commandlistenerwrapper.hasPermission(2)) {
|
|
+ if (this.checkPermissions && !commandlistenerwrapper.hasPermission(2, "minecraft.command.selector")) { // CraftBukkit
|
|
throw ArgumentEntity.f.create();
|
|
}
|
|
}
|