mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-10 12:02:36 +01:00
40076782ed
By: md_5 <git@md-5.net>
11 lines
567 B
Diff
11 lines
567 B
Diff
--- 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.getHitResult(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;
|