mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 23:03:01 +00:00
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:
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
|
||||
|
||||
Reference in new issue
Block a user