mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 00:40:51 +01:00
fix
This commit is contained in:
parent
84abca0370
commit
e4c6178fc1
@ -133,14 +133,14 @@ public abstract class Extension extends ExtensionBase {
|
||||
setPacketInfoManager(PacketInfoManager.readFromPacket(packet));
|
||||
|
||||
Constants.UNITY_PACKETS = clientType == HClient.UNITY;
|
||||
getOnConnectionObservable().fireEvent(l -> l.onConnection(
|
||||
host, connectionPort, hotelVersion,
|
||||
clientIdentifier, clientType)
|
||||
);
|
||||
if (delayed_init) {
|
||||
initExtension();
|
||||
delayed_init = false;
|
||||
}
|
||||
getOnConnectionObservable().fireEvent(l -> l.onConnection(
|
||||
host, connectionPort, hotelVersion,
|
||||
clientIdentifier, clientType)
|
||||
);
|
||||
onStartConnection();
|
||||
}
|
||||
else if (packet.headerId() == NetworkExtensionInfo.OUTGOING_MESSAGES_IDS.CONNECTIONEND) {
|
||||
|
Loading…
Reference in New Issue
Block a user