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,10 +102,12 @@ public class GT_Block_Ores
|
|||
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:
|
||||
return aMaterial.mDefaultLocalName;
|
||||
}
|
||||
default:
|
||||
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_)
|
||||
{
|
||||
super.onBlockEventReceived(p_149696_1_, p_149696_2_, p_149696_3_, p_149696_4_, p_149696_5_, 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
|
||||
|
||||
* Qualified Name: gregtech.common.blocks.GT_Block_Ores
|
||||
|
||||
* JD-Core Version: 0.7.0.1
|
||||
|
||||
*/
|
Loading…
Reference in a new issue