diff --git a/build/1.7.10.txt b/build/1.7.10.txt index fe71e87..8590320 100644 --- a/build/1.7.10.txt +++ b/build/1.7.10.txt @@ -1 +1 @@ -r1.0-20 \ No newline at end of file +r1.0-22 diff --git a/src/main/java/com/meteor/extrabotany/common/entity/gaia/EntityGaiaIII.java b/src/main/java/com/meteor/extrabotany/common/entity/gaia/EntityGaiaIII.java index 5ce6436..cde462a 100644 --- a/src/main/java/com/meteor/extrabotany/common/entity/gaia/EntityGaiaIII.java +++ b/src/main/java/com/meteor/extrabotany/common/entity/gaia/EntityGaiaIII.java @@ -446,7 +446,8 @@ public void onDeath(DamageSource p_70645_1_) { ((EntityPlayer) entitylivingbase).addStat(ModAchievement.Gaia_gaia3NoArmor, 1); } - EntityGaiaIIIDark.spawn(this.worldObj, getSource().posX,getSource().posY,getSource().posZ, true, this); + if (!(this instanceof EntityGaiaIIIDark)) // Prevent infinite GaiaIIIDark respawn + EntityGaiaIIIDark.spawn(this.worldObj, getSource().posX,getSource().posY,getSource().posZ, true, this); worldObj.playSoundAtEntity(this, "random.explode", 20F, (1F + (worldObj.rand.nextFloat() - worldObj.rand.nextFloat()) * 0.2F) * 0.7F); worldObj.spawnParticle("hugeexplosion", posX, posY, posZ, 1D, 0D, 0D);