Paper icon indicating copy to clipboard operation
Paper copied to clipboard

Take in account waterlogged block for the event

Open Lulu13022002 opened this issue 2 years ago • 2 comments

There's some inconsistencies between the EntityChangeBlockEvent and the BlockDestroyEvent. The destroy event has always the right final type but the change block event has always air even for watterlogged blocks. This fix this behavior only for possible case to avoid a bigger patch. I have maybe missed some of them.

Lulu13022002 avatar Dec 08 '22 17:12 Lulu13022002

The "to" BlockData isn't ever used to change the world right? This is just fixing it in the event, so the event has the correct information.

Machine-Maker avatar Dec 11 '22 22:12 Machine-Maker

Yes it's just the event block data which is wrong doesn't affect the world

Lulu13022002 avatar Dec 12 '22 15:12 Lulu13022002