diff --git a/libs/RPCore-2.0.7.jar b/libs/RPCore-2.0.7.jar new file mode 100644 index 000000000..6614da7fe Binary files /dev/null and b/libs/RPCore-2.0.7.jar differ diff --git a/src/main/java/mekanism/generators/common/tile/TileEntityWindGenerator.java b/src/main/java/mekanism/generators/common/tile/TileEntityWindGenerator.java index 4de7f3d04..1c91a29b4 100644 --- a/src/main/java/mekanism/generators/common/tile/TileEntityWindGenerator.java +++ b/src/main/java/mekanism/generators/common/tile/TileEntityWindGenerator.java @@ -40,19 +40,20 @@ public class TileEntityWindGenerator extends TileEntityGenerator implements IBou { ChargeUtils.charge(0, this); - if(ticker % 20 == 0) - { - setActive((currentMultiplier = getMultiplier()) > 0); - } - ForgeDimension dim = ((ForgeDimension)DimensionAPI.getForgeDimension(this.worldObj.provider.dimensionId)); if (dim != null && (dim.getType().equals(CelestialType.System) || dim.getType().equals(CelestialType.Cluster)) && getActive()) { setActive(false); + } else { + if(ticker % 20 == 0) + { + setActive((currentMultiplier = getMultiplier()) > 0); + } + + if(getActive()) + { + setEnergy(electricityStored + (generators.windGenerationMin*currentMultiplier)); + } } - if(getActive()) - { - setEnergy(electricityStored + (generators.windGenerationMin*currentMultiplier)); - } } }