Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Don't require command to be signed to pass it through as-is
Dieser Commit ist enthalten in:
Ursprung
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);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren