13
0
geforkt von Mirrors/Velocity
Dieser Commit ist enthalten in:
Andrew Steinborn 2021-05-09 02:57:52 -04:00
Ursprung 5170da8fd7
Commit 11ed4b46e4

Datei anzeigen

@ -148,7 +148,7 @@ public enum ProtocolUtils {
buf.writeInt(w); buf.writeInt(w);
} else { } else {
int w = (value & 0x7F | 0x80) << 24 | ((value >>> 7) & 0x7F | 0x80) << 16 int w = (value & 0x7F | 0x80) << 24 | ((value >>> 7) & 0x7F | 0x80) << 16
| ((value >>> 14) & 0x7F | 0x80) | ((value >>> 21) & 0x7F | 0x80); | ((value >>> 14) & 0x7F | 0x80) << 8 | ((value >>> 21) & 0x7F | 0x80);
buf.writeInt(w); buf.writeInt(w);
buf.writeByte(value >>> 28); buf.writeByte(value >>> 28);
} }