#520 Alloy Smelter upgrade breaks ME interface 'blocking mode'

#519 Can't shift-wrench to pick up certain TE blocks

Mereged from 1.6,4
This commit is contained in:
cp committed 2014-03-03 18:23:16 +08:00
commit 3ed9e6c399
3 files changed
+12 -4

No files matched your search

@@ -19,9 +19,13 @@ public abstract class AbstractPoweredTaskEntity extends AbstractMachineEntity im
@Override
public int[] getAccessibleSlotsFromSide(int var1) {
int[] res = new int[inventory.length];
for (int i = 0; i < res.length; i++) {
res[i] = i;
int[] res = new int[inventory.length - slotDefinition.getNumUpgradeSlots()];
int index = 0;
for (int i = 0; i < inventory.length; i++) {
if(!slotDefinition.isUpgradeSlot(i)) {
res[index] = i;
index++;
}
}
return res;
}