Merge remote-tracking branch 'origin/floodgate-2.0' into floodgate-2.0

This commit is contained in:
Tim203 2021-05-31 16:58:46 +02:00
commit e16d83ecc1
No known key found for this signature in database
GPG key ID: 064EE9F5BF7C3EE8

View file

@ -802,9 +802,11 @@ public class GeyserSession implements CommandSender {
SkinManager.handleBedrockSkin(playerEntity, clientData);
}
// We'll send the skin upload a bit after the handshake packet (aka this packet),
// because otherwise the global server returns the data too fast.
getAuthData().upload(connector);
if (remoteAuthType == AuthType.FLOODGATE) {
// We'll send the skin upload a bit after the handshake packet (aka this packet),
// because otherwise the global server returns the data too fast.
getAuthData().upload(connector);
}
}
PacketTranslatorRegistry.JAVA_TRANSLATOR.translate(event.getPacket().getClass(), event.getPacket(), GeyserSession.this);