1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2026-01-03 22:16:31 +00:00

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

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);