comparison core.lua @ 26:19e007e5eca9 v1.05

Fixed item count so in most cases when an item is not cached the correct count is displayed on the minimap.
author Aaron@Aaron-PC
date Sun, 22 Aug 2010 10:22:09 -0500
parents bc8c0631172b
children da9bbf7b08c7
comparison
equal deleted inserted replaced
25:399113a204b0 26:19e007e5eca9
214 else 214 else
215 return oldFunction(lself, type, nodeID) 215 return oldFunction(lself, type, nodeID)
216 end 216 end
217 end 217 end
218 218
219 --[[ hook OnProfileChanged to fix cleanup database ]]
220 local oldFunction2 = GatherMate.OnProfileChanged
221
222 GatherMate.OnProfileChanged = function(lself, ...)
223 lself.db.profile.cleanupRange["RecipeProfit"] = lself.db.profile.cleanupRange["RecipeProfit"] or 15
224 oldFunction2(lself, ...)
225 end
226
219 end 227 end
220 228
221 229
222 function RecipeProfit:OnEnable() 230 function RecipeProfit:OnEnable()
223 231