mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Merge remote-tracking branch 'origin/floodgate-2.0' into floodgate-2.0
This commit is contained in:
commit
e16d83ecc1
1 changed files with 5 additions and 3 deletions
|
@ -802,10 +802,12 @@ public class GeyserSession implements CommandSender {
|
||||||
SkinManager.handleBedrockSkin(playerEntity, clientData);
|
SkinManager.handleBedrockSkin(playerEntity, clientData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (remoteAuthType == AuthType.FLOODGATE) {
|
||||||
// We'll send the skin upload a bit after the handshake packet (aka this packet),
|
// 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.
|
// because otherwise the global server returns the data too fast.
|
||||||
getAuthData().upload(connector);
|
getAuthData().upload(connector);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
PacketTranslatorRegistry.JAVA_TRANSLATOR.translate(event.getPacket().getClass(), event.getPacket(), GeyserSession.this);
|
PacketTranslatorRegistry.JAVA_TRANSLATOR.translate(event.getPacket().getClass(), event.getPacket(), GeyserSession.this);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue