Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Amend event priority in ItemTransferListener #925

Merged
merged 3 commits into from
Oct 2, 2021

Conversation

calcastor
Copy link
Contributor

In further testing following #921 being merged I found that this had not actually been the root cause of the problem and caused some unexpected behaviour when sorting from chests into inventory with double clicking to collect stacks. This re-adds COLLECT_TO_CURSOR to the ignored actions for onPlayerClickInventory, and increases the priority of onPlayerInventoryClick's InventoryClickEvent to MONITOR. With this change, double clicking to stack all of a single item from a chest or within a player's own inventory works as would be expected in vanilla Minecraft.

This reverts commit 9783baf.

Signed-off-by: BT (calcastor/mame) <[email protected]>
Signed-off-by: BT (calcastor/mame) <[email protected]>
Signed-off-by: BT (calcastor/mame) <[email protected]>
@Electroid Electroid merged commit 80abe9a into PGMDev:dev Oct 2, 2021
@calcastor calcastor deleted the actual-fix-invdc branch October 2, 2021 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants