Merge pull request #910 from james58899/fix-typo

Fix typo in #900
This commit is contained in:
Corey Shupe
2022-12-19 04:46:46 -05:00
committed by GitHub

View File

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