Auto format code

This commit is contained in:
modmuss50 2017-06-12 14:23:32 +01:00
parent fc4d8686b8
commit b25742dde0
No known key found for this signature in database
GPG key ID: 203A5ED4D3E48BEA
175 changed files with 527 additions and 737 deletions

View file

@ -233,10 +233,10 @@ public class ClientProxy extends CommonProxy {
@Override
public String getUpgradeConfigText() {
if(Minecraft.getMinecraft().currentScreen instanceof GuiBase){
if (Minecraft.getMinecraft().currentScreen instanceof GuiBase) {
GuiBase base = (GuiBase) Minecraft.getMinecraft().currentScreen;
if(base.tile instanceof IUpgradeable){
if(((IUpgradeable) base.tile).canBeUpgraded()){
if (base.tile instanceof IUpgradeable) {
if (((IUpgradeable) base.tile).canBeUpgraded()) {
return TextFormatting.LIGHT_PURPLE + "Right click to configure";
}
}

View file

@ -84,8 +84,7 @@ public class CommonProxy implements ICompatModule {
return false;
}
public String getUpgradeConfigText(){
public String getUpgradeConfigText() {
return "";
}