From 4ff1bde89f593e56330b90c0e063a65fd1e4a041 Mon Sep 17 00:00:00 2001 From: Arne De Herdt Date: Tue, 29 Sep 2015 19:55:25 +0200 Subject: [PATCH] fixed housing calls for drop 6 --- .gitignore | 3 +++ Generalist.lua | 7 ++++--- toc.xml | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ca21e90 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/.settings/ +/.buildpath +/.project diff --git a/Generalist.lua b/Generalist.lua index 4e0de56..9d4c146 100755 --- a/Generalist.lua +++ b/Generalist.lua @@ -813,9 +813,10 @@ function Generalist:GetCharDecor() -- Temp decor table. local theDecor = {} + local libResidence = HousingLib.GetResidence() -- Get placed decor. - local tDecor = HousingLib.GetPlacedDecorList() + local tDecor = libResidence:GetPlacedDecorList() -- Loop through it. for _,tItem in ipairs(tDecor) do @@ -832,7 +833,7 @@ function Generalist:GetCharDecor() end -- Get crated decor. - tDecor = HousingLib.GetDecorCrateList() + tDecor = libResidence:GetDecorCrateList() -- Loop through it. for _,tItem in ipairs(tDecor) do @@ -1628,7 +1629,7 @@ end --------------------------------------------------------------------------------------------------- function Generalist:ItemToolTip(wndControl, item, bStuff, nCount) - local this = Apollo.GetAddon("Generalist") + local this = Apollo.GetAddon("GeneralistEx") wndControl:SetTooltipDoc(nil) local wndTooltip, wndTooltipComp = origItemToolTipForm(self,wndControl,item,bStuff,nCount) diff --git a/toc.xml b/toc.xml index bb3a3fd..2d9544b 100755 --- a/toc.xml +++ b/toc.xml @@ -1,5 +1,5 @@ - +