mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-22 03:43:30 +01:00
made item terminals extract items faster if there is a pressurizer in the network
This commit is contained in:
parent
6fbedff388
commit
a06c91be5a
1 changed files with 2 additions and 1 deletions
|
@ -71,7 +71,8 @@ public class ItemTerminalTileEntity extends TileEntity implements INamedContaine
|
|||
return;
|
||||
|
||||
boolean update = false;
|
||||
if (this.world.getGameTime() % 10 == 0) {
|
||||
int interval = pipe.pressurizer != null ? 2 : 10;
|
||||
if (this.world.getGameTime() % interval == 0) {
|
||||
for (int i = 6; i < 12; i++) {
|
||||
ItemStack extracted = this.items.extractItem(i, Integer.MAX_VALUE, true);
|
||||
if (extracted.isEmpty())
|
||||
|
|
Loading…
Reference in a new issue