diff --git a/QuestHelper/collect_hearth.lua b/QuestHelper/collect_hearth.lua index b1d3900..bc49218 100644 --- a/QuestHelper/collect_hearth.lua +++ b/QuestHelper/collect_hearth.lua @@ -27,7 +27,7 @@ local function OnConfirmBinder(...) local new_home = ... if not QHCZ[new_home] then QHCZ[new_home] = {} end if not QHCZ[new_home].Innkeeper then QHCZ[new_home].Innkeeper = {} end - QHCZ[new_home].Innkeeper.ID = GetMonsterType(UnitName("target")) + QHCZ[new_home].Innkeeper.ID = GetMonsterType(UnitGUID("target")) end function QH_Collect_Hearth_Init(QHCData, API)