3
0
Mirror von https://github.com/PaperMC/Velocity.git synchronisiert 2024-12-26 16:12:50 +01:00

Don't require command to be signed to pass it through as-is

Dieser Commit ist enthalten in:
Gegy 2023-11-27 18:38:55 +01:00 committet von Riley Park
Ursprung 92c48507eb
Commit 3b7ffa837e

Datei anzeigen

@ -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);