Files
paper-mc/paper-server/patches/sources/net/minecraft
Bjarne Koll ab984a0711 Always pass event block to damage source (#12158)
Always passes the respective block to a damage source when passing a
block state. While we could technically use the damageSourcePosition
here by, we'd have to translate it back to a block position by
subtracting .5 from all its components.
Such behaviour however relies on the caller logic's mutation of the
damageSourcePosition and will break once this position is not the centre
of the block.

Passing in the block at the specific callsite is a lot more future
proof.
2025-02-20 20:22:46 +01:00
..
2024-12-16 11:54:00 +01:00
2024-12-18 19:29:39 +01:00
2024-12-18 19:29:39 +01:00
2024-12-14 19:06:58 +01:00
2024-12-14 19:06:58 +01:00
2024-12-14 19:06:58 +01:00
2024-12-14 19:06:58 +01:00