3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-26 00:00:55 +01:00

Merge pull request #910 from james58899/fix-typo

Fix typo in #900
Dieser Commit ist enthalten in:
Corey Shupe 2022-12-19 04:46:46 -05:00 committet von GitHub
Commit c9e0e14eb1
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 4AEE18F83AFDEB23

Datei anzeigen

@ -54,7 +54,7 @@ public class SessionCommandHandler implements CommandHandler<SessionPlayerComman
String commandToRun = result.getCommand().orElse(packet.command); String commandToRun = result.getCommand().orElse(packet.command);
if (result.isForwardToServer()) { if (result.isForwardToServer()) {
if (!packet.isSigned() && commandToRun.equals(packet.command)) { if (packet.isSigned() && commandToRun.equals(packet.command)) {
return CompletableFuture.completedFuture(packet); return CompletableFuture.completedFuture(packet);
} else { } else {
if (packet.isSigned()) { if (packet.isSigned()) {