mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-12-25 17:27:52 +01:00
Handle configuration start
TODO: Check whether all the necessary data for the join game packet is always expected by the client or if we need to cache it from the initial login
This commit is contained in:
parent
2b2384acc1
commit
ea2fac0788
@ -91,7 +91,11 @@ public final class Protocol1_20To1_20_2 extends BackwardsProtocol<ClientboundPac
|
||||
wrapper.write(Type.UUID, uuid != null ? uuid : new UUID(0, 0));
|
||||
});
|
||||
|
||||
cancelClientbound(ClientboundPackets1_20_2.START_CONFIGURATION); // TODO Implement switch back
|
||||
registerClientbound(ClientboundPackets1_20_2.START_CONFIGURATION, null, wrapper -> {
|
||||
wrapper.cancel();
|
||||
// TODO: Check whether all the necessary data for the join game packet is always expected by the client or if we need to cache it from the initial login
|
||||
wrapper.user().put(new ConfigurationPacketStorage());
|
||||
});
|
||||
cancelClientbound(ClientboundPackets1_20_2.PONG_RESPONSE);
|
||||
|
||||
// Some can be directly remapped to play packets, others need to be queued
|
||||
|
Loading…
Reference in New Issue
Block a user