summaryrefslogtreecommitdiffhomepage
path: root/build-data
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2022-03-05 12:45:57 -0800
committerGitHub <[email protected]>2022-03-05 21:45:57 +0100
commit6564f70f4c569e46f3320c284b4fead197fccd05 (patch)
tree06d522bfcb0d637ef83838ca7333eb4679e34713 /build-data
parent935151388a864cc78c6b9241c90bc4a576939be3 (diff)
downloadPaper-6564f70f4c569e46f3320c284b4fead197fccd05.tar.gz
Paper-6564f70f4c569e46f3320c284b4fead197fccd05.zip
Fix cancelling ProjectileHitEvent for piercing arrows (#7492)
Diffstat (limited to 'build-data')
-rw-r--r--build-data/paper.at3
1 files changed, 3 insertions, 0 deletions
diff --git a/build-data/paper.at b/build-data/paper.at
index c672e2bab1..1f7a551541 100644
--- a/build-data/paper.at
+++ b/build-data/paper.at
@@ -318,3 +318,6 @@ public-f net.minecraft.world.inventory.AbstractContainerMenu remoteDataSlots
# Fix falling block spawn methods
public net.minecraft.world.entity.item.FallingBlockEntity <init>(Lnet/minecraft/world/level/Level;DDDLnet/minecraft/world/level/block/state/BlockState;)V
+
+# Fix cancelling ProjectileHitEvent for piercing arrows
+protected net.minecraft.world.entity.projectile.Projectile hitCancelled