Add ability to disable openinv player cache #123

Closed
opened 2020-03-08 11:21:29 -04:00 by ghost · 2 comments
ghost commented 2020-03-08 11:21:29 -04:00 (Migrated from github.com)

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

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 2020-03-09 06:33:53 -04:00 (Migrated from github.com)

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

Could you clarify what other problems you're having? Have you tried running your inventory checking code on a tick delay?
Jikoo commented 2020-03-11 09:19:50 -04:00 (Migrated from github.com)

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.

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.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: minster586/OpenInv#123
No description provided.