2015-05-25 12:37:24 +02:00
|
|
|
--- a/net/minecraft/server/EntityProjectile.java
|
|
|
|
+++ b/net/minecraft/server/EntityProjectile.java
|
2020-06-25 02:00:00 +02:00
|
|
|
@@ -42,6 +42,11 @@
|
2016-02-29 22:32:46 +01:00
|
|
|
|
2020-06-25 02:00:00 +02:00
|
|
|
if (movingobjectposition.getType() != MovingObjectPosition.EnumMovingObjectType.MISS && !flag) {
|
|
|
|
this.a(movingobjectposition);
|
|
|
|
+ // CraftBukkit start
|
|
|
|
+ if (this.dead) {
|
|
|
|
+ org.bukkit.craftbukkit.event.CraftEventFactory.callProjectileHitEvent(this, movingobjectposition);
|
|
|
|
+ }
|
|
|
|
+ // CraftBukkit end
|
2014-11-25 22:32:16 +01:00
|
|
|
}
|
|
|
|
|
2020-06-25 02:00:00 +02:00
|
|
|
Vec3D vec3d = this.getMot();
|