Merge PR Optimized Component Ejector. Closes #5537

Additional: half tickDelay in ejector component since we're only ejecting on a timer now
This commit is contained in:
Thiakil committed 2019-07-06 12:22:32 +08:00
1 parent 7a726f3695
commit ac70101edf
13 files changed
+58 -96

No files matched your search

@@ -333,7 +333,6 @@ public class TileEntityFactory extends TileEntityMachine implements IComputerInt
//Append the "extra" slot to the available slots
data.availableSlots = Arrays.copyOf(data.availableSlots, data.availableSlots.length + 1);
data.availableSlots[data.availableSlots.length - 1] = 4;
ejectorComponent.trackers.put(TransmissionType.ITEM, Arrays.copyOf(ejectorComponent.trackers.get(TransmissionType.ITEM), data.availableSlots.length));
}
for (Upgrade upgrade : upgradeComponent.getSupportedTypes()) {
@@ -680,7 +679,6 @@ public class TileEntityFactory extends TileEntityMachine implements IComputerInt
}
markDirty();
ejectorComponent.outputItems();
}
@Override