diff options
| author | Richard Hendricks <richardhendricks@pobox.com> | 2017-11-16 23:15:30 -0600 |
|---|---|---|
| committer | Richard Hendricks <richardhendricks@pobox.com> | 2017-11-24 00:49:58 -0600 |
| commit | 8ddd0b37555b5e106c0ae228fe4dbea18889ceed (patch) | |
| tree | c4801e5f9671fc2cf55bcbf005228f6055a3f820 /src/main/java/gregtech/common/blocks | |
| parent | 393d0a5d43d420fa83ae9866ca38d0bd1789047a (diff) | |
| download | GT5-Unofficial-8ddd0b37555b5e106c0ae228fe4dbea18889ceed.tar.gz GT5-Unofficial-8ddd0b37555b5e106c0ae228fe4dbea18889ceed.tar.bz2 GT5-Unofficial-8ddd0b37555b5e106c0ae228fe4dbea18889ceed.zip | |
Remove tabs, replace with spaces
Diffstat (limited to 'src/main/java/gregtech/common/blocks')
| -rw-r--r-- | src/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java b/src/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java index d4717535cb..f8b52c8f08 100644 --- a/src/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java +++ b/src/main/java/gregtech/common/blocks/GT_TileEntity_Ores.java @@ -51,9 +51,9 @@ public class GT_TileEntity_Ores extends TileEntity implements ITexturedTileEntit String BlockName = tBlock.getUnlocalizedName(); aMetaData += isSmallOre ? 16000 : 0; if ((aMetaData > 0) && ((tBlock != Blocks.air) || air)) { - if (tBlock.isReplaceableOreGen(aWorld, aX, aY, aZ, Blocks.stone)) { - //Do nothing, stone background is default background. - //Do this comparison first since stone is most common + if (tBlock.isReplaceableOreGen(aWorld, aX, aY, aZ, Blocks.stone)) { + //Do nothing, stone background is default background. + //Do this comparison first since stone is most common } else if (tBlock.isReplaceableOreGen(aWorld, aX, aY, aZ, Blocks.netherrack)) { aMetaData += 1000; } else if (tBlock.isReplaceableOreGen(aWorld, aX, aY, aZ, Blocks.end_stone)) { @@ -78,7 +78,7 @@ public class GT_TileEntity_Ores extends TileEntity implements ITexturedTileEntit } else { aMetaData += 5000; } - } else if (BlockName.equals("tile.igneousStone")) { + } else if (BlockName.equals("tile.igneousStone")) { if (GregTech_API.sBlockOresUb1 != null) { tOreBlock = GregTech_API.sBlockOresUb1; aMetaData += (BlockMeta * 1000); |
