This commit is contained in:
ThisIsALegitUsername 2023-04-01 21:19:48 +00:00
parent c086d671c4
commit f2c8039aae

View File

@ -527,13 +527,13 @@ public class EntityPlayerSP extends AbstractClientPlayer {
* Args: entity that was hit critically * Args: entity that was hit critically
*/ */
public void onCriticalHit(Entity entityHit) { public void onCriticalHit(Entity entityHit) {
for(int i = 0; i < ParticleMultiplier.multiplier.getValue() - 1; i++){ for(int i = 0; i < ParticleMultiplier.multiplier.getValue(); i++){
this.mc.effectRenderer.emitParticleAtEntity(entityHit, EnumParticleTypes.CRIT); this.mc.effectRenderer.emitParticleAtEntity(entityHit, EnumParticleTypes.CRIT);
} }
} }
public void onEnchantmentCritical(Entity entityHit) { public void onEnchantmentCritical(Entity entityHit) {
for(int i = 0; i < ParticleMultiplier.multiplier.getValue() - 1; i++){ for(int i = 0; i < ParticleMultiplier.multiplier.getValue(); i++){
this.mc.effectRenderer.emitParticleAtEntity(entityHit, EnumParticleTypes.CRIT_MAGIC); this.mc.effectRenderer.emitParticleAtEntity(entityHit, EnumParticleTypes.CRIT_MAGIC);
} }
} }