diff --git a/src/main/java/techreborn/config/ConfigTechReborn.java b/src/main/java/techreborn/config/ConfigTechReborn.java index f5501b14e..c6825100f 100644 --- a/src/main/java/techreborn/config/ConfigTechReborn.java +++ b/src/main/java/techreborn/config/ConfigTechReborn.java @@ -162,8 +162,6 @@ public class ConfigTechReborn { // Client public static boolean ShowChargeHud; public static boolean useConnectedTextures; - - public static boolean rainExplosions; public static boolean oreUnifer; public static Configuration config; @@ -674,9 +672,6 @@ public class ConfigTechReborn { useConnectedTextures = config.get(CATEGORY_INTEGRATION, StatCollector.translateToLocal("config.techreborn.connectTextures"), true, StatCollector.translateToLocal("config.techreborn.connectTextures.tooltip")).getBoolean(true); - rainExplosions = config.get(CATEGORY_POWER, StatCollector.translateToLocal("config.techreborn.rainExplosions"), - true, StatCollector.translateToLocal("config.techreborn.rainExplosions.tooltip")).getBoolean(true); - oreUnifer = config.get(CATEGORY_INTEGRATION, StatCollector.translateToLocal("config.techreborn.oreUnifer"), true, StatCollector.translateToLocal("config.techreborn.oreUnifer.tooltip")).getBoolean(false); diff --git a/src/main/java/techreborn/powerSystem/RFProviderTile.java b/src/main/java/techreborn/powerSystem/RFProviderTile.java index e25e8641b..30981db02 100644 --- a/src/main/java/techreborn/powerSystem/RFProviderTile.java +++ b/src/main/java/techreborn/powerSystem/RFProviderTile.java @@ -27,14 +27,6 @@ public abstract class RFProviderTile extends TileMachineBase implements IEnergyR if (worldObj.isRemote) { return; } - if (ConfigTechReborn.rainExplosions && worldObj.canBlockSeeTheSky(xCoord, yCoord + 1, zCoord) && worldObj.isRaining() || worldObj.isThundering()) - if (getEnergy() >= 1 && random.nextInt(160) == 0) { - Explosion explosion = new Explosion(this.worldObj, null, xCoord, yCoord, zCoord, getEnergy() < 100000 ? 2F : 4F); - explosion.isFlaming = true; - explosion.isSmoking = getEnergy() > 100000; - explosion.doExplosionA(); - explosion.doExplosionB(false); - } sendPower(); }