diff options
author | Technus <daniel112092@gmail.com> | 2016-09-07 11:14:37 +0200 |
---|---|---|
committer | Technus <daniel112092@gmail.com> | 2016-09-21 22:07:55 +0200 |
commit | e9db0f877fcc0cf0f9608f2ad73a56edcd57febe (patch) | |
tree | fa7adb5242d8866641e10f02521c264677694b94 /src/main/java/gregtech/common/tileentities/machines | |
parent | d02b7925f5965db7ce79e6a71bfa9b1e9de708a7 (diff) | |
download | GT5-Unofficial-e9db0f877fcc0cf0f9608f2ad73a56edcd57febe.tar.gz GT5-Unofficial-e9db0f877fcc0cf0f9608f2ad73a56edcd57febe.tar.bz2 GT5-Unofficial-e9db0f877fcc0cf0f9608f2ad73a56edcd57febe.zip |
Fix Proc even more!
Diffstat (limited to 'src/main/java/gregtech/common/tileentities/machines')
-rw-r--r-- | src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ProcessingArray.java | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ProcessingArray.java b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ProcessingArray.java index d7c14d7be7..d0b6104a83 100644 --- a/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ProcessingArray.java +++ b/src/main/java/gregtech/common/tileentities/machines/multi/GT_MetaTileEntity_ProcessingArray.java @@ -47,7 +47,8 @@ public class GT_MetaTileEntity_ProcessingArray extends GT_MetaTileEntity_MultiBl "1x Maintenance Hatch (Any casing)", "1x Energy Hatch (Any casing)", "Robust Tungstensteel Casings for the rest (16 at least!)", - "Place up to 64 Single Block GT Machines into the GUI Inventory"}; + "Place up to 64 Single Block GT Machines into the GUI Inventory", + "Maximal tier of machines inside: 9"}; } public ITexture[] getTexture(IGregTechTileEntity aBaseMetaTileEntity, byte aSide, byte aFacing, byte aColorIndex, boolean aActive, boolean aRedstone) { @@ -171,6 +172,7 @@ public class GT_MetaTileEntity_ProcessingArray extends GT_MetaTileEntity_MultiBl } ArrayList<ItemStack> tInputList = getStoredInputs(); int tTier = 0; + /* Better dont if (mInventory[1].getUnlocalizedName().endsWith("10")) { tTier = 10; } @@ -189,31 +191,32 @@ public class GT_MetaTileEntity_ProcessingArray extends GT_MetaTileEntity_MultiBl if (mInventory[1].getUnlocalizedName().endsWith("15")) { tTier = 15; } - if (mInventory[1].getUnlocalizedName().endsWith("1")) { + */ + if (mInventory[1].getUnlocalizedName().endsWith("01")) { tTier = 1; } - if (mInventory[1].getUnlocalizedName().endsWith("2")) { + if (mInventory[1].getUnlocalizedName().endsWith("02")) { tTier = 2; } - if (mInventory[1].getUnlocalizedName().endsWith("3")) { + if (mInventory[1].getUnlocalizedName().endsWith("03")) { tTier = 3; } - if (mInventory[1].getUnlocalizedName().endsWith("4")) { + if (mInventory[1].getUnlocalizedName().endsWith("04")) { tTier = 4; } - if (mInventory[1].getUnlocalizedName().endsWith("5")) { + if (mInventory[1].getUnlocalizedName().endsWith("05")) { tTier = 5; } - if (mInventory[1].getUnlocalizedName().endsWith("6")) { + if (mInventory[1].getUnlocalizedName().endsWith("06")) { tTier = 6; } - if (mInventory[1].getUnlocalizedName().endsWith("7")) { + if (mInventory[1].getUnlocalizedName().endsWith("07")) { tTier = 7; } - if (mInventory[1].getUnlocalizedName().endsWith("8")) { + if (mInventory[1].getUnlocalizedName().endsWith("08")) { tTier = 8; } - if (mInventory[1].getUnlocalizedName().endsWith("9")) { + if (mInventory[1].getUnlocalizedName().endsWith("09")) { tTier = 9; } |