13
0
geforkt von Mirrors/Velocity
Dieser Commit ist enthalten in:
James58899 2022-12-19 17:31:02 +08:00
Ursprung 1ec77eb123
Commit 294199e270
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7F83E3A11DD5192E

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()) {