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

Fix BlockRedstoneEvent for tripwire hooks #9724

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Lulu13022002
Copy link
Contributor

Closes #9714

Previously the BlockRedstoneEvent was called for every update even non redstone related one and was always unpowered (15 -> 0). Now only two events at least are called (four when cancelled, i'm not 100% sure about) and the redstone current changes are properly respected.

@Lulu13022002 Lulu13022002 requested a review from a team as a code owner September 14, 2023 17:23
@lynxplay
Copy link
Contributor

Can you merge this into https://github.com/PaperMC/Paper/blob/master/patches/server/1032-Call-BlockRedstoneEvents-for-lecterns.patch, rename the title to something like "Call BlockRedstoneEvent properly" or something the likes ?

Don't forget smack yourself as a co-author 🙏

@Lulu13022002 Lulu13022002 force-pushed the fix/redhook branch 3 times, most recently from abc78a1 to 2bec6a6 Compare September 17, 2023 10:37
@SO-32
Copy link

SO-32 commented Sep 28, 2023

Tested on base and pr. Issues reproduced on base for both tripwire hooks and lecterns. Fix confirmed for both in pr

Copy link
Member

@Warriorrrr Warriorrrr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is missing identifying patch comments but rest looks good

patches/server/1032-Call-BlockRedstoneEvent-properly.patch Outdated Show resolved Hide resolved
@Lulu13022002 Lulu13022002 force-pushed the fix/redhook branch 2 times, most recently from d9bcc96 to 16124c2 Compare February 2, 2024 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: PR Party candidate
Development

Successfully merging this pull request may close these issues.

Tripwire hook not registering properly on BlockRedstoneEvents
5 participants