Merge remote-tracking branch 'upstream/master'

AssemblerManiac [06-14-18 - 12:29]
Merge remote-tracking branch 'upstream/master'
Filename
IIfA/IIfADataCollection.lua
diff --git a/IIfA/IIfADataCollection.lua b/IIfA/IIfADataCollection.lua
index a7ed46e..fbd4040 100644
--- a/IIfA/IIfADataCollection.lua
+++ b/IIfA/IIfADataCollection.lua
@@ -312,7 +312,7 @@ end
 function IIfA:RescanHouse(houseCollectibleId)

 	houseCollectibleId = houseCollectibleId or GetCollectibleIdForHouse(GetCurrentZoneHouseId())
-	if not houseCollectibleId then return end
+	if not houseCollectibleId or not IIfA.trackedBags[houseCollectibleId] then return end

 	IIfA.data.collectHouseData[houseCollectibleId] = IIfA.data.collectHouseData[houseCollectibleId] or IIfA:GetHouseTracking()