mirror of
https://github.com/PaperMC/Velocity.git
synced 2025-04-24 17:10:56 +08:00
Fix typo in #900
This commit is contained in:
parent
1ec77eb123
commit
294199e270
@ -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()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user