mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-12-23 08:57:39 +01:00
Try to schedule sending on switch (#3587)
This commit is contained in:
parent
8e38e25cba
commit
5d4b104b33
@ -103,7 +103,9 @@ public final class EntityPacketRewriter1_20_2 extends EntityRewriter<Clientbound
|
||||
// No change, so no need to re-enter the configuration state - just let this one through
|
||||
final PacketWrapper clientInformationPacket = configurationBridge.clientInformationPacket(wrapper.user());
|
||||
if (clientInformationPacket != null) {
|
||||
clientInformationPacket.sendToServer(Protocol1_20_2To1_20.class);
|
||||
// Schedule the sending to ensure it arrives later, this fixes an issue where on
|
||||
// servers running < 1.20.2 a client changing servers on a proxy lost skin layers
|
||||
clientInformationPacket.scheduleSendToServer(Protocol1_20_2To1_20.class);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user