Skip to content

Commit

Permalink
Fix typo in PaperMC#900
Browse files Browse the repository at this point in the history
  • Loading branch information
james58899 committed Dec 19, 2022
1 parent 1ec77eb commit 294199e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void handlePlayerCommandInternal(SessionPlayerCommand packet) {

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

0 comments on commit 294199e

Please sign in to comment.