geforkt von Mirrors/Paper
12 Zeilen
555 B
Diff
12 Zeilen
555 B
Diff
--- a/net/minecraft/server/commands/DeOpCommands.java
|
|
+++ b/net/minecraft/server/commands/DeOpCommands.java
|
|
@@ -35,7 +35,7 @@
|
|
if (playerList.isOp(gameProfile)) {
|
|
playerList.deop(gameProfile);
|
|
i++;
|
|
- source.sendSuccess(() -> Component.translatable("commands.deop.success", targets.iterator().next().getName()), true);
|
|
+ source.sendSuccess(() -> Component.translatable("commands.deop.success", gameProfile.getName()), true); // Paper - fixes MC-253721
|
|
}
|
|
}
|
|
|