Skip to content

Fix multiple transaction related issues - #4309

Open
avaruus1 wants to merge 1 commit into
SpongePowered:api-12from
avaruus1:fix-transaction-bugs
Open

Fix multiple transaction related issues#4309
avaruus1 wants to merge 1 commit into
SpongePowered:api-12from
avaruus1:fix-transaction-bugs

Conversation

@avaruus1

@avaruus1 avaruus1 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor
  • SpongeMutableDataHolder#undo returned DataTransactionResult.failNoData() instead of the actual result.
  • InventoryTransactionResultImpl#and discarded the polled items of the other transaction
  • InventoryTransactionResultImpl#and returned a SUCCESS transaction when type == NO_SLOT
  • InventoryTransactionResultImpl.Builder from & reset ignored polled items

- SpongeMutableDataHolder#undo returned DataTransactionResult.failNoData() instead of the actual result.
- InventoryTransactionResultImpl#and discarded the polled items of the other transaction
- InventoryTransactionResultImpl#and returned a SUCCESS transaction when `type == NO_SLOT`
- InventoryTransactionResultImpl.Builder from & reset ignored polled items
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant