3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-10-08 03:00:06 +02:00

Don't send a signed byte for digging.

Dieser Commit ist enthalten in:
Myles 2016-03-03 19:56:00 +00:00
Ursprung 1a90f0eb28
Commit ab9f786999

Datei anzeigen

@ -83,7 +83,7 @@ public class IncomingTransformer {
return;
}
if (packet == PacketType.PLAY_PLAYER_DIGGING) {
byte status = input.readByte();
int status = input.readByte() & 0xFF; // unsign
if (status == 6) { // item swap
throw new CancelException();
}