lishid / OpenInv

Open anyone's inventory as a chest, real-time!
GNU General Public License v3.0
120 stars 97 forks source link

Add ability to disable openinv player cache #123

Closed ghost closed 4 years ago

ghost commented 4 years ago

hello, when I open a players inventory and close it then they login my plugin that converts inventory items on login doesn't work, probably because of the cache system is overwriting it. The cache is also causing other problems for me to the point where the option to disable it would be greatly appreciated. Thanks

Jikoo commented 4 years ago

Could you clarify what other problems you're having? Have you tried running your inventory checking code on a tick delay?

Jikoo commented 4 years ago

Removing the cache is not a solution, it would just make this edge case harder to spot - the same behavior would still be exhibited if the player's inventory was open when they logged in.