Skip to content

Commit

Permalink
修正弹幕问题
Browse files Browse the repository at this point in the history
  • Loading branch information
TartaricAcid committed Mar 25, 2024
1 parent 20155eb commit e479c4d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ protected void onHitEntity(EntityHitResult result) {
}

if (thrower != null && !hit.is(thrower)) {
DamageSource source = this.damageSources().thrown(thrower, this);
DamageSource source = this.damageSources().thrown(this, thrower);
hit.hurt(source, this.getDamage());
this.discard();
}
Expand Down

0 comments on commit e479c4d

Please sign in to comment.