OSDN Git Service

修正・変更
[chemicraft/chemicraft.git] / common / pcc / chemicraft / base / entity / EntityAtomsGrenade.java
index 46853df..cf3749d 100644 (file)
@@ -40,7 +40,7 @@ public class EntityAtomsGrenade extends EntityThrowable
                }
 
                if(isNuke){
-                       this.explodeSize = 20.0F;
+                       this.explodeSize = 35.0F;
                }
 
                if (par1MovingObjectPosition.entityHit != null) {
@@ -49,10 +49,10 @@ public class EntityAtomsGrenade extends EntityThrowable
                }
 
                if (!this.worldObj.isRemote && !isNuke) {
-                       this.worldObj.createExplosion((Entity)null, this.posX, this.posY, this.posZ, explodeSize, onFire);
+                       this.worldObj.newExplosion((Entity)null, this.posX, this.posY, this.posZ, explodeSize, onFire, true);
                        this.isDead = true;
                }else if(!this.worldObj.isRemote && isNuke){
-                       this.worldObj.createExplosion((Entity)null, this.posX, this.posY, this.posZ, explodeSize, onFire);
+                       this.worldObj.newExplosion((Entity)null, this.posX, this.posY, this.posZ, explodeSize, onFire, true);
                        Iterator<EntityLiving> itr = this.worldObj.getEntitiesWithinAABB(EntityLiving.class, this.boundingBox.expand(30, 30, 30)).iterator();
                        while(itr.hasNext()){
                                EntityLiving entity = itr.next();