This way is better

This commit is contained in:
Technus 2016-10-02 22:00:32 +02:00
parent 53e33d976a
commit 2d2fecf6a7
5 changed files with 6 additions and 5 deletions

View file

@ -842,7 +842,7 @@ public abstract class GT_MetaTileEntity_MultiBlockBase extends MetaTileEntity {
mPollutionReduction+=tHatch.getPollutionReduction();
}
}
if(mPollutionReduction>0)mMufflerInfo="Pollution reduced by: "+ EnumChatFormatting.GREEN + mPollutionReduction+ EnumChatFormatting.RESET+" %";
mMufflerInfo="Pollution reduced by: "+ EnumChatFormatting.GREEN + mPollutionReduction+ EnumChatFormatting.RESET+" %";
return new String[]{
"Progress:",

View file

@ -238,7 +238,8 @@ public class GT_MetaTileEntity_DieselEngine extends GT_MetaTileEntity_MultiBlock
mPollutionReduction+=tHatch.getPollutionReduction();
}
}
if(mPollutionReduction>0)mMufflerInfo="Pollution reduced by: "+ EnumChatFormatting.GREEN + mPollutionReduction+ EnumChatFormatting.RESET+" %";
mMufflerInfo="Pollution reduced by: "+ EnumChatFormatting.GREEN + mPollutionReduction+ EnumChatFormatting.RESET+" %";
return new String[]{
EnumChatFormatting.BLUE+"Diesel Engine"+EnumChatFormatting.RESET,
"Current Output: "+EnumChatFormatting.RED+mEUt+EnumChatFormatting.RESET+" EU/t",

View file

@ -267,7 +267,7 @@ public class GT_MetaTileEntity_ElectricBlastFurnace
mPollutionReduction+=tHatch.getPollutionReduction();
}
}
if(mPollutionReduction>0)mMufflerInfo="Pollution reduced by: "+ EnumChatFormatting.GREEN + mPollutionReduction+ EnumChatFormatting.RESET+" %";
mMufflerInfo="Pollution reduced by: "+ EnumChatFormatting.GREEN + mPollutionReduction+ EnumChatFormatting.RESET+" %";
return new String[]{
"Progress:",

View file

@ -208,7 +208,7 @@ public abstract class GT_MetaTileEntity_LargeTurbine extends GT_MetaTileEntity_M
mPollutionReduction+=tHatch.getPollutionReduction();
}
}
if(mPollutionReduction>0)mMufflerInfo="Pollution reduced by: "+ EnumChatFormatting.GREEN + mPollutionReduction+ EnumChatFormatting.RESET+" %";
mMufflerInfo="Pollution reduced by: "+ EnumChatFormatting.GREEN + mPollutionReduction+ EnumChatFormatting.RESET+" %";
String tRunning = mMaxProgresstime>0 ?
EnumChatFormatting.GREEN+"Turbine running"+EnumChatFormatting.RESET :

View file

@ -241,7 +241,7 @@ public class GT_MetaTileEntity_MultiFurnace
mPollutionReduction+=tHatch.getPollutionReduction();
}
}
if(mPollutionReduction>0)mMufflerInfo="Pollution reduced by: "+ EnumChatFormatting.GREEN + mPollutionReduction+ EnumChatFormatting.RESET+" %";
mMufflerInfo="Pollution reduced by: "+ EnumChatFormatting.GREEN + mPollutionReduction+ EnumChatFormatting.RESET+" %";
return new String[]{
"Progress:",