fix orehiding hiding all ores instead of only the unneeded.
This commit is contained in:
parent
6217cca671
commit
380211de8a
1 changed files with 2 additions and 1 deletions
|
@ -60,7 +60,8 @@ public abstract class GT_Block_Ores_Abstract extends GT_Generic_Block implements
|
||||||
if ((GregTech_API.sGeneratedMaterials[i].mTypes & 0x8) != 0) {
|
if ((GregTech_API.sGeneratedMaterials[i].mTypes & 0x8) != 0) {
|
||||||
GT_OreDictUnificator.registerOre(this.getProcessingPrefix()[j] != null ? this.getProcessingPrefix()[j].get(GregTech_API.sGeneratedMaterials[i]) : "", new ItemStack(this, 1, i + (j * 1000)));
|
GT_OreDictUnificator.registerOre(this.getProcessingPrefix()[j] != null ? this.getProcessingPrefix()[j].get(GregTech_API.sGeneratedMaterials[i]) : "", new ItemStack(this, 1, i + (j * 1000)));
|
||||||
if (tHideOres) {
|
if (tHideOres) {
|
||||||
codechicken.nei.api.API.hideItem(new ItemStack(this, 1, (j == 0 && aHideFirstMeta) ? i : i + (j * 1000)));
|
if(!(j == 0 && !aHideFirstMeta)){
|
||||||
|
codechicken.nei.api.API.hideItem(new ItemStack(this, 1, i + (j * 1000)));}
|
||||||
codechicken.nei.api.API.hideItem(new ItemStack(this, 1, (i + 16000) + (j * 1000)));
|
codechicken.nei.api.API.hideItem(new ItemStack(this, 1, (i + 16000) + (j * 1000)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue