Added blast speed to missiles

Checks main config for blast speed
This commit is contained in:
grangerave 2017-12-02 20:22:25 -06:00
parent be1b059c35
commit 0ae9c55376
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ public class EntityMissileMirv extends EntityMissileBaseAdvanced {
entity.posY = this.posY;
entity.posZ = this.posZ;
entity.destructionRange = MainRegistry.missileRadius;
entity.speed = 25;
entity.speed = MainRegistry.blastSpeed;
entity.coefficient = 10.0F;
this.worldObj.spawnEntityInWorld(entity);

View File

@ -26,7 +26,7 @@ public class EntityMissileNuclear extends EntityMissileBaseAdvanced {
entity.posY = this.posY;
entity.posZ = this.posZ;
entity.destructionRange = MainRegistry.missileRadius;
entity.speed = 25;
entity.speed = MainRegistry.blastSpeed;
entity.coefficient = 10.0F;
this.worldObj.spawnEntityInWorld(entity);