You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So there is a duplication bug with our locking plugin Latch. We have a donation chest which only people who are added to can remove from but everyone can add to. How it works is basically the people who are not the owner or added as an accessor cannot remove items, move them, or similar. The problem arises when someone without access is viewing someone with access removing items. Once the person without access tries to move an item out or similar we cancel the event, and for some reason the items removed are replaced into the container creating a duplicate.
It seems like for some reason the person simply viewing the transactions also has the original player's slot transactions within theirs. There may be a reason for this but to me that does not seem intentional.
Find our code for this ClickInventoryEvent listener here.
Closes#1133
At some point, we may want to fire events for changes to inventories
made outside of click packets (during world ticks, for example).
However, this is not properly implemented atm, and having capturing on
continuously leads to problems when multiple players interact with an
inventory.
Closes#1133
At some point, we may want to fire events for changes to inventories
made outside of click packets (during world ticks, for example).
However, this is not properly implemented atm, and having capturing on
continuously leads to problems when multiple players interact with an
inventory.
So there is a duplication bug with our locking plugin Latch. We have a donation chest which only people who are added to can remove from but everyone can add to. How it works is basically the people who are not the owner or added as an accessor cannot remove items, move them, or similar. The problem arises when someone without access is viewing someone with access removing items. Once the person without access tries to move an item out or similar we cancel the event, and for some reason the items removed are replaced into the container creating a duplicate.
It seems like for some reason the person simply viewing the transactions also has the original player's slot transactions within theirs. There may be a reason for this but to me that does not seem intentional.
Find our code for this ClickInventoryEvent listener here.
Sponge versions where this has occurred.
First:
spongeforge-1.10.2-2171-5.1.0-BETA-2010
Second:
SpongeAPI: 6.0.0-SNAPSHOT-9005019
SpongeVanilla: 1.11.2-6.0.0-BETA-192
The text was updated successfully, but these errors were encountered: