mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
Rename revision 2
This commit is contained in:
1 parent
3c5632de31
commit
2b5a61f03d
29 files changed
+126
-126
No files matched your search
@@ -167,10 +167,10 @@ public class EntitySnowball extends Entity {
|
||||
stick = !projectile.doesBounce();
|
||||
} else {
|
||||
// this function returns if the snowball 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.shooter), event.getDamage());
|
||||
}
|
||||
} else {
|
||||
stick = movingobjectposition.entity.damageEntity(DamageSource.a(this, this.shooter), 0);
|
||||
stick = movingobjectposition.entity.damageEntity(DamageSource.projectile(this, this.shooter), 0);
|
||||
}
|
||||
if (stick) {
|
||||
;
|
||||
|
||||
Reference in new issue
Block a user