44
44
45
45
local major = " LibOpenRaid-1.0"
46
46
47
- local CONST_LIB_VERSION = 133
47
+ local CONST_LIB_VERSION = 134
48
48
49
49
if (LIB_OPEN_RAID_MAX_VERSION ) then
50
50
if (CONST_LIB_VERSION <= LIB_OPEN_RAID_MAX_VERSION ) then
@@ -2762,12 +2762,8 @@ openRaidLib.commHandler.RegisterComm(CONST_COMM_COOLDOWNREQUEST_PREFIX, openRaid
2762
2762
end
2763
2763
end
2764
2764
2765
- function openRaidLib .KeystoneInfoManager .OnPlayerEnterWorld ()
2766
- -- keystones are only available on retail
2767
- if (not checkClientVersion (" retail" )) then
2768
- return
2769
- end
2770
- -- hack: on received data send data to party and guild
2765
+ local keystoneManagerOnPlayerEnterWorld = function ()
2766
+ -- hack: trigger a received data request to send data to party and guild when logging in
2771
2767
openRaidLib .KeystoneInfoManager .OnReceiveRequestData ()
2772
2768
2773
2769
-- trigger public callback
@@ -2778,6 +2774,18 @@ openRaidLib.commHandler.RegisterComm(CONST_COMM_COOLDOWNREQUEST_PREFIX, openRaid
2778
2774
openRaidLib .publicCallback .TriggerCallback (" KeystoneUpdate" , unitName , keystoneInfo , openRaidLib .KeystoneInfoManager .KeystoneData )
2779
2775
end
2780
2776
2777
+ function openRaidLib .KeystoneInfoManager .OnPlayerEnterWorld ()
2778
+ -- keystones are only available on retail
2779
+ if (not checkClientVersion (" retail" )) then
2780
+ return
2781
+ end
2782
+
2783
+ -- attempt to load keystone item link as reports indicate it can be nil
2784
+ getMythicPlusMapID ()
2785
+
2786
+ C_Timer .After (2 , keystoneManagerOnPlayerEnterWorld )
2787
+ end
2788
+
2781
2789
function openRaidLib .KeystoneInfoManager .OnMythicDungeonFinished ()
2782
2790
-- keystones are only available on retail
2783
2791
if (not checkClientVersion (" retail" )) then
0 commit comments