修复ah6 damageModifier调用错误
This commit is contained in:
parent
dad96db966
commit
b78069fd31
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ public class Ah6Entity extends ContainerMobileEntity implements GeoEntity, IHeli
|
||||||
}
|
}
|
||||||
this.level().playSound(null, this.getOnPos(), ModSounds.HIT.get(), SoundSource.PLAYERS, 1, 1);
|
this.level().playSound(null, this.getOnPos(), ModSounds.HIT.get(), SoundSource.PLAYERS, 1, 1);
|
||||||
|
|
||||||
amount = getDamageModifier().compute(source, amount);
|
amount = damageModifier.compute(source, amount);
|
||||||
super.hurt(source, amount);
|
super.hurt(source, amount);
|
||||||
this.hurt(amount, source.getEntity(), true);
|
this.hurt(amount, source.getEntity(), true);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue