mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-14 10:55:20 +01:00
fix boss bar packet
This commit is contained in:
parent
88e83f9aad
commit
5a3b59ce29
@ -95,6 +95,7 @@ public class Protocol1_13To1_13_1 extends BackwardsProtocol {
|
|||||||
wrapper.passthrough(Type.STRING);
|
wrapper.passthrough(Type.STRING);
|
||||||
wrapper.passthrough(Type.FLOAT);
|
wrapper.passthrough(Type.FLOAT);
|
||||||
wrapper.passthrough(Type.VAR_INT);
|
wrapper.passthrough(Type.VAR_INT);
|
||||||
|
wrapper.passthrough(Type.VAR_INT);
|
||||||
short flags = wrapper.read(Type.UNSIGNED_BYTE);
|
short flags = wrapper.read(Type.UNSIGNED_BYTE);
|
||||||
if ((flags & 0x04) != 0) flags |= 0x02;
|
if ((flags & 0x04) != 0) flags |= 0x02;
|
||||||
wrapper.write(Type.UNSIGNED_BYTE, flags);
|
wrapper.write(Type.UNSIGNED_BYTE, flags);
|
||||||
|
Loading…
Reference in New Issue
Block a user