mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-26 03:55:28 +01:00
Reduce delay for sequence acknowledgements (#3445)
This commit is contained in:
parent
5a20030ff3
commit
f07ba9b527
@ -29,6 +29,7 @@ public class AckSequenceProvider implements Provider {
|
||||
public void handleSequence(final UserConnection connection, final int sequence) throws Exception {
|
||||
final PacketWrapper ackPacket = PacketWrapper.create(ClientboundPackets1_19.BLOCK_CHANGED_ACK, connection);
|
||||
ackPacket.write(Type.VAR_INT, sequence);
|
||||
ackPacket.scheduleSend(Protocol1_19To1_18_2.class);
|
||||
ackPacket.send(Protocol1_19To1_18_2.class);
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user