Really minor convention tweak in block_ores
Returning from the default clause of a switch stops eclipse from bitching about unhandled enums.
This commit is contained in:
parent
144d01c254
commit
27d4848463
1 changed files with 12 additions and 6 deletions
|
@ -102,8 +102,10 @@ public class GT_Block_Ores
|
||||||
return aMaterial.mDefaultLocalName + " Infused Stone";
|
return aMaterial.mDefaultLocalName + " Infused Stone";
|
||||||
case Vermiculite: case Bentonite: case Kaolinite: case Talc: case BasalticMineralSand: case GraniticMineralSand: case GlauconiteSand: case CassiteriteSand: case GarnetSand: case QuartzSand: case Pitchblende: case FullersEarth:
|
case Vermiculite: case Bentonite: case Kaolinite: case Talc: case BasalticMineralSand: case GraniticMineralSand: case GlauconiteSand: case CassiteriteSand: case GarnetSand: case QuartzSand: case Pitchblende: case FullersEarth:
|
||||||
return aMaterial.mDefaultLocalName;
|
return aMaterial.mDefaultLocalName;
|
||||||
|
default:
|
||||||
|
return aMaterial.mDefaultLocalName + OrePrefixes.ore.mLocalizedMaterialPost;
|
||||||
}
|
}
|
||||||
return aMaterial.mDefaultLocalName + OrePrefixes.ore.mLocalizedMaterialPost;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean onBlockEventReceived(World p_149696_1_, int p_149696_2_, int p_149696_3_, int p_149696_4_, int p_149696_5_, int p_149696_6_)
|
public boolean onBlockEventReceived(World p_149696_1_, int p_149696_2_, int p_149696_3_, int p_149696_4_, int p_149696_5_, int p_149696_6_)
|
||||||
|
@ -261,7 +263,11 @@ public class GT_Block_Ores
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
|
/* Location: F:\Torrent\minecraft\jd-gui-0.3.6.windows\gregtech_1.7.10-5.07.07-dev.jar
|
||||||
|
|
||||||
* Qualified Name: gregtech.common.blocks.GT_Block_Ores
|
* Qualified Name: gregtech.common.blocks.GT_Block_Ores
|
||||||
|
|
||||||
* JD-Core Version: 0.7.0.1
|
* JD-Core Version: 0.7.0.1
|
||||||
|
|
||||||
*/
|
*/
|
Loading…
Reference in a new issue