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,12 +407,12 @@ public class BulletType extends Content implements Cloneable{
if(status == StatusEffects.none){ if(status == StatusEffects.none){
status = StatusEffects.shocked; status = StatusEffects.shocked;
} }
}
if(lightningType == null){ if(lightningType == null){
lightningType = !collidesAir ? Bullets.damageLightningGround : Bullets.damageLightning; lightningType = !collidesAir ? Bullets.damageLightningGround : Bullets.damageLightning;
} }
} }
}
@Override @Override
public ContentType getContentType(){ public ContentType getContentType(){