#Ask Mr. Robot patch
-
add a package dependency to https://github.com/Phanx/LibRealmInfo/blob/master/LibRealmInfo.lua
-
apply this diff
--- C:\Program Files (x86)\World of Warcraft\Interface\AddOns\AskMrRobot\AskMrRobot.lua +++ untitled 2 @@ -184,7 +184,7 @@ function AskMrRobot.RecordLogin() -- only need to record the region now (only thing we can't get from the log file still) - AmrSettings.Region = AskMrRobot.regionNames[GetCurrentRegion()] + AmrSettings.Region = LibStub("LibRealmInfo"):GetCurrentRegion() -- remove the old Logins data, don't need it anymore AmrSettings.Logins = nil @@ -249,7 +249,7 @@ -- gets all basic character properties function AskMrRobot.ScanCharacter() - AmrDb.Region = AskMrRobot.regionNames[GetCurrentRegion()] + AmrDb.Region = LibStub("LibRealmInfo"):GetCurrentRegion() AmrDb.RealmName = GetRealmName() AmrDb.CharacterName = UnitName("player") AmrDb.Guild = GetGuildInfo("player")