mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 08:50:52 +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));
|
setPacketInfoManager(PacketInfoManager.readFromPacket(packet));
|
||||||
|
|
||||||
Constants.UNITY_PACKETS = clientType == HClient.UNITY;
|
Constants.UNITY_PACKETS = clientType == HClient.UNITY;
|
||||||
getOnConnectionObservable().fireEvent(l -> l.onConnection(
|
|
||||||
host, connectionPort, hotelVersion,
|
|
||||||
clientIdentifier, clientType)
|
|
||||||
);
|
|
||||||
if (delayed_init) {
|
if (delayed_init) {
|
||||||
initExtension();
|
initExtension();
|
||||||
delayed_init = false;
|
delayed_init = false;
|
||||||
}
|
}
|
||||||
|
getOnConnectionObservable().fireEvent(l -> l.onConnection(
|
||||||
|
host, connectionPort, hotelVersion,
|
||||||
|
clientIdentifier, clientType)
|
||||||
|
);
|
||||||
onStartConnection();
|
onStartConnection();
|
||||||
}
|
}
|
||||||
else if (packet.headerId() == NetworkExtensionInfo.OUTGOING_MESSAGES_IDS.CONNECTIONEND) {
|
else if (packet.headerId() == NetworkExtensionInfo.OUTGOING_MESSAGES_IDS.CONNECTIONEND) {
|
||||||
|
Loading…
Reference in New Issue
Block a user