diff options
Diffstat (limited to 'patch-remap/og/net/minecraft/world/entity/projectile/EntityLlamaSpit.patch')
-rw-r--r-- | patch-remap/og/net/minecraft/world/entity/projectile/EntityLlamaSpit.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/world/entity/projectile/EntityLlamaSpit.patch b/patch-remap/og/net/minecraft/world/entity/projectile/EntityLlamaSpit.patch new file mode 100644 index 0000000000..408aa43d97 --- /dev/null +++ b/patch-remap/og/net/minecraft/world/entity/projectile/EntityLlamaSpit.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/world/entity/projectile/EntityLlamaSpit.java ++++ b/net/minecraft/world/entity/projectile/EntityLlamaSpit.java +@@ -32,7 +32,7 @@ + Vec3D vec3d = this.getDeltaMovement(); + MovingObjectPosition movingobjectposition = ProjectileHelper.getHitResultOnMoveVector(this, this::canHitEntity); + +- this.onHit(movingobjectposition); ++ this.preOnHit(movingobjectposition); // CraftBukkit - projectile hit event + double d0 = this.getX() + vec3d.x; + double d1 = this.getY() + vec3d.y; + double d2 = this.getZ() + vec3d.z; |