mirror of
https://github.com/PaperMC/Velocity.git
synced 2024-11-21 03:11:38 +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