View Single Post
12/20/15, 02:11 PM   #7
votan
 
votan's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 577
Originally Posted by SnowmanDK View Post
I think I'll check out your suggestions.
Even though EVENT_INVENTORY_SINGLE_SLOT_UPDATE works, and I did set it to only update when a bait stack changes, then it causes a small lag every time it updates, eg. you pick up bait or move/use bait. Not critical, but still...
Jo, that's why I suggested to use a dirty flag, only.
Count the baits, once needed and cache until dirty flag is true again.
But there are many ways
  Reply With Quote