diff --git a/src/main/java/gregapi/tileentity/inventories/MultiTileEntityMassStorage.java b/src/main/java/gregapi/tileentity/inventories/MultiTileEntityMassStorage.java index 3a05e95a3..c220dbde4 100644 --- a/src/main/java/gregapi/tileentity/inventories/MultiTileEntityMassStorage.java +++ b/src/main/java/gregapi/tileentity/inventories/MultiTileEntityMassStorage.java @@ -31,6 +31,7 @@ import gregapi.code.ItemStackSet; import gregapi.data.LH; import gregapi.data.LH.Chat; +import gregapi.data.MD; import gregapi.data.OP; import gregapi.data.TD; import gregapi.network.INetworkHandler; @@ -631,7 +632,7 @@ public long getUnitAmount(OreDictPrefix aPrefix) { public long getUnitAmount(ItemStack aStack) { OreDictItemData mData = OM.anydata_(slot(1)), aData = OM.anydata_(aStack); - if (mData != null && aData != null && mData.validData() && aData.validData() && !mData.mBlackListed && !aData.mBlackListed && mData.mMaterial.mMaterial == aData.mMaterial.mMaterial && mPartialUnits < getUnitAmount(mData.mPrefix)) { + if (mData != null && aData != null && mData.validData() && aData.validData() && mData.mMaterial.mMaterial == aData.mMaterial.mMaterial && (!mData.mBlackListed || MD.MC.owns(slot(1))) && mPartialUnits < getUnitAmount(mData.mPrefix)) { if (mData.mPrefix.contains(TD.Prefix.DUST_BASED)) { return aData.mPrefix.contains(TD.Prefix.DUST_BASED) ? aData.mPrefix.mAmount : 0; }