mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 19:55:52 -07:00
Rename revision 2
This commit is contained in:
@@ -168,10 +168,10 @@ public class EntityEgg extends Entity {
|
||||
stick = !projectile.doesBounce();
|
||||
} else {
|
||||
// this function returns if the egg should stick in or not, i.e. !bounce
|
||||
stick = movingobjectposition.entity.damageEntity(DamageSource.a(this, this), event.getDamage());
|
||||
stick = movingobjectposition.entity.damageEntity(DamageSource.projectile(this, this.thrower), event.getDamage());
|
||||
}
|
||||
} else {
|
||||
stick = movingobjectposition.entity.damageEntity(DamageSource.a(this, this.thrower), 0);
|
||||
stick = movingobjectposition.entity.damageEntity(DamageSource.projectile(this, this.thrower), 0);
|
||||
}
|
||||
|
||||
if (stick) {
|
||||
|
Reference in New Issue
Block a user