@@ -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 @@
|
||||
|
||||
Reference in New Issue
Block a user