Originally Posted by SnowmanDK
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