Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-12-27 08:30:09 +01:00
Don't send a signed byte for digging.
Dieser Commit ist enthalten in:
Ursprung
1a90f0eb28
Commit
ab9f786999
@ -83,7 +83,7 @@ public class IncomingTransformer {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (packet == PacketType.PLAY_PLAYER_DIGGING) {
|
if (packet == PacketType.PLAY_PLAYER_DIGGING) {
|
||||||
byte status = input.readByte();
|
int status = input.readByte() & 0xFF; // unsign
|
||||||
if (status == 6) { // item swap
|
if (status == 6) { // item swap
|
||||||
throw new CancelException();
|
throw new CancelException();
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren