Improper caching causing dupes for offline players #49
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Jikoo#10
The root cause is that the ISpecialEnderChest and ISpecialPlayerInventory implementations do not use the same Player object. That means that whichever saves last causes the other inventory to revert to its previous state, provided the actual Player does not log in before the server is restarted.
For fixes, Phoenix616 has an elegantly simple fix in 0665dec.
My fix (
23bda96
) also works, but uses a much more beefy system mainly aimed around not caching players who haven't logged in forever.Fixed in 3.0.0