Fixed digital chest for 4th time
This commit is contained in:
parent
9537ceb474
commit
6f20a6cdcd
1 changed files with 3 additions and 1 deletions
|
@ -70,9 +70,11 @@ public class GT_MetaTileEntity_DigitalChest extends MetaTileEntity {
|
|||
}
|
||||
} else {
|
||||
if (mInventory[1] != null) {
|
||||
if (setStackToZeroInsteadOfNull(0)) {
|
||||
if (mInventory[1].stackSize > 0) {
|
||||
mInventory[0] = mInventory[1];
|
||||
mInventory[1] = null;
|
||||
} else if (setStackToZeroInsteadOfNull(0)) {
|
||||
mInventory[0] = mInventory[1].copy();
|
||||
} else {
|
||||
mInventory[1] = null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue