Update GT_MetaTileEntity_MultiBlockBase.java
This commit is contained in:
parent
a0eb30d03f
commit
505a9c263e
1 changed files with 4 additions and 4 deletions
|
@ -819,8 +819,8 @@ public abstract class GT_MetaTileEntity_MultiBlockBase extends MetaTileEntity {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param state using bitmask, 1 for IntegratedCircuit, 2 for DataStick, 4 for DataOrb
|
* @param state using bitmask, 1 for IntegratedCircuit, 2 for DataStick, 4 for DataOrb
|
||||||
|
*/
|
||||||
private boolean isCorrectDataItem(ItemStack aStack, int state){
|
/* private boolean isCorrectDataItem(ItemStack aStack, int state){
|
||||||
if ((state & 1) != 0 && ItemList.Circuit_Integrated.isStackEqual(aStack, true, true)) return true;
|
if ((state & 1) != 0 && ItemList.Circuit_Integrated.isStackEqual(aStack, true, true)) return true;
|
||||||
if ((state & 2) != 0 && ItemList.Tool_DataStick.isStackEqual(aStack, false, true)) return true;
|
if ((state & 2) != 0 && ItemList.Tool_DataStick.isStackEqual(aStack, false, true)) return true;
|
||||||
if ((state & 4) != 0 && ItemList.Tool_DataOrb.isStackEqual(aStack, false, true)) return true;
|
if ((state & 4) != 0 && ItemList.Tool_DataOrb.isStackEqual(aStack, false, true)) return true;
|
||||||
|
@ -829,8 +829,8 @@ public abstract class GT_MetaTileEntity_MultiBlockBase extends MetaTileEntity {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param state using bitmask, 1 for IntegratedCircuit, 2 for DataStick, 4 for DataOrb
|
* @param state using bitmask, 1 for IntegratedCircuit, 2 for DataStick, 4 for DataOrb
|
||||||
|
*/
|
||||||
public ArrayList<ItemStack> getDataItems(int state) {
|
/* public ArrayList<ItemStack> getDataItems(int state) {
|
||||||
ArrayList<ItemStack> rList = new ArrayList<ItemStack>();
|
ArrayList<ItemStack> rList = new ArrayList<ItemStack>();
|
||||||
if (GT_Utility.isStackValid(mInventory[1]) && isCorrectDataItem(mInventory[1], state)) {
|
if (GT_Utility.isStackValid(mInventory[1]) && isCorrectDataItem(mInventory[1], state)) {
|
||||||
rList.add(mInventory[1]);
|
rList.add(mInventory[1]);
|
||||||
|
|
Loading…
Reference in a new issue