Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/floodgate-2.0' into floodgate-2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim203 committed May 31, 2021
2 parents 209a4ff + 5376ba4 commit e16d83e
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -802,9 +802,11 @@ public void packetReceived(PacketReceivedEvent event) {
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);
Expand Down

0 comments on commit e16d83e

Please sign in to comment.