summaryrefslogtreecommitdiffstats
path: root/nms-patches/EntityFireball.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nms-patches/EntityFireball.patch')
-rw-r--r--nms-patches/EntityFireball.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/EntityFireball.patch b/nms-patches/EntityFireball.patch
index 28389160..620ec367 100644
--- a/nms-patches/EntityFireball.patch
+++ b/nms-patches/EntityFireball.patch
@@ -52,14 +52,14 @@
this.locX += this.motX;
@@ -150,6 +167,11 @@
} else {
- this.ap();
+ this.av();
if (damagesource.getEntity() != null) {
+ // CraftBukkit start
+ if (CraftEventFactory.handleNonLivingEntityDamageEvent(this, damagesource, f)) {
+ return false;
+ }
+ // CraftBukkit end
- Vec3D vec3d = damagesource.getEntity().aB();
+ Vec3D vec3d = damagesource.getEntity().aH();
if (vec3d != null) {
@@ -163,6 +185,7 @@