Fixed regression introduced in #5361

This commit is contained in:
Anuken 2021-06-08 21:58:56 -04:00
parent 95da46bfa2
commit 28203ca6e9

View File

@ -407,10 +407,10 @@ public class BulletType extends Content implements Cloneable{
if(status == StatusEffects.none){
status = StatusEffects.shocked;
}
}
if(lightningType == null){
lightningType = !collidesAir ? Bullets.damageLightningGround : Bullets.damageLightning;
}
if(lightningType == null){
lightningType = !collidesAir ? Bullets.damageLightningGround : Bullets.damageLightning;
}
}