Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Fix BlockRedstoneEvent for tripwire hooks

Open Lulu13022002 opened this issue 2 years ago • 2 comments

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 avatar Sep 14 '23 17:09 Lulu13022002

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 :pray:

lynxplay avatar Sep 14 '23 21:09 lynxplay

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

SO-32 avatar Sep 28 '23 10:09 SO-32