mirror of
https://github.com/PaperMC/Velocity.git
synced 2024-11-27 06:30:35 +08:00
Don't require command to be signed to pass it through as-is
This commit is contained in:
parent
92c48507eb
commit
3b7ffa837e
@ -52,7 +52,7 @@ public class SessionCommandHandler implements CommandHandler<SessionPlayerComman
|
||||
|
||||
@Nullable
|
||||
private MinecraftPacket forwardCommand(SessionPlayerCommandPacket packet, String newCommand) {
|
||||
if (packet.isSigned() && newCommand.equals(packet.command)) {
|
||||
if (newCommand.equals(packet.command)) {
|
||||
return packet;
|
||||
}
|
||||
return modifyCommand(packet, newCommand);
|
||||
|
Loading…
Reference in New Issue
Block a user