mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-20 04:09:43 +00:00
#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:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user