1
0
mirror of https://github.com/demodude4u/Factorio-FBSR.git synced 2025-02-19 19:59:54 +02:00

Hiding input logistics behind the DEBUG:inputs option

This commit is contained in:
Weston Rye (Demod) 2017-06-08 00:17:16 -04:00
parent 05a5853384
commit e7a8dfac9f
2 changed files with 27 additions and 24 deletions

View File

@ -528,6 +528,7 @@ public class FBSR {
}
});
if (map.getDebug().inputs) {
logisticGrid.cellSet().stream().filter(c -> c.getValue().isTransitEnd()).forEach(c -> {
Set<String> inputs = c.getValue().getInputs().get();
for (String item : inputs) {
@ -554,6 +555,7 @@ public class FBSR {
}
}
});
}
}

View File

@ -42,6 +42,7 @@ public class WorldMap {
}
public static class Debug {
public boolean inputs = false;
public boolean logistic = false;
public boolean rail = false;
}