2021-05-09 08:51:44 +02:00
|
|
|
--- a/net/minecraft/world/entity/projectile/EntityLlamaSpit.java
|
|
|
|
+++ b/net/minecraft/world/entity/projectile/EntityLlamaSpit.java
|
2023-03-14 17:30:00 +01:00
|
|
|
@@ -32,7 +32,7 @@
|
2021-11-21 23:00:00 +01:00
|
|
|
Vec3D vec3d = this.getDeltaMovement();
|
|
|
|
MovingObjectPosition movingobjectposition = ProjectileHelper.getHitResult(this, this::canHitEntity);
|
2021-05-09 08:51:44 +02:00
|
|
|
|
2021-11-21 23:00:00 +01:00
|
|
|
- this.onHit(movingobjectposition);
|
2021-06-11 07:00:00 +02:00
|
|
|
+ this.preOnHit(movingobjectposition); // CraftBukkit - projectile hit event
|
2021-11-21 23:00:00 +01:00
|
|
|
double d0 = this.getX() + vec3d.x;
|
|
|
|
double d1 = this.getY() + vec3d.y;
|
|
|
|
double d2 = this.getZ() + vec3d.z;
|