From 1c07d5c78f07bf8a5dcc73c6f16f1b9743565b06 Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 28 Nov 2016 12:47:01 +1100 Subject: Add hitEntity to ProjectileHitEvent --- nms-patches/EntityProjectile.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nms-patches/EntityProjectile.patch') diff --git a/nms-patches/EntityProjectile.patch b/nms-patches/EntityProjectile.patch index 5e01a87c..17b70ac1 100644 --- a/nms-patches/EntityProjectile.patch +++ b/nms-patches/EntityProjectile.patch @@ -14,7 +14,7 @@ this.a(movingobjectposition); + // CraftBukkit start + if (this.dead) { -+ org.bukkit.craftbukkit.event.CraftEventFactory.callProjectileHitEvent(this); ++ org.bukkit.craftbukkit.event.CraftEventFactory.callProjectileHitEvent(this, movingobjectposition); + } + // CraftBukkit end } -- cgit v1.2.3