Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-12-26 00:00:55 +01:00
Fix: only treat command as signed if it has signatures
The Vanilla client will send 'last seen' even if the message is not signed, so this is much stricter than it needs to be. This should allow commands without any signed arguments to be modified/consumed by the proxy.
Dieser Commit ist enthalten in:
Ursprung
077968089e
Commit
c6bb15c69b
@ -65,8 +65,7 @@ public class SessionPlayerCommandPacket implements MinecraftPacket {
|
||||
}
|
||||
|
||||
public boolean isSigned() {
|
||||
if (salt == 0) return false;
|
||||
return !lastSeenMessages.isEmpty() || !argumentSignatures.isEmpty();
|
||||
return !argumentSignatures.isEmpty();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren