From 301622cfb0e1f41f36ea2d7f47c3e699eb62a81a Mon Sep 17 00:00:00 2001 From: Cedric Date: Sun, 20 Oct 2024 23:38:04 +0200 Subject: [PATCH] Revert "added temporary system to revomve bugged paths" This reverts commit 5e64d6dd6d4a99fa2eb7ebf677263875775365a5. --- .../com/troblecodings/signals/signalbox/SignalBoxGrid.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main/java/com/troblecodings/signals/signalbox/SignalBoxGrid.java b/src/main/java/com/troblecodings/signals/signalbox/SignalBoxGrid.java index bc4db847b..c7b77ac96 100644 --- a/src/main/java/com/troblecodings/signals/signalbox/SignalBoxGrid.java +++ b/src/main/java/com/troblecodings/signals/signalbox/SignalBoxGrid.java @@ -191,9 +191,6 @@ protected void updatePrevious(final SignalBoxPathway pathway) { public void resetAllPathways() { ImmutableSet.copyOf(this.startsToPath.values()).forEach(this::resetPathway); clearPaths(); - modeGrid.values().forEach(node -> node.getModes().values() - .forEach(optionEntry -> optionEntry.getEntry(PathEntryType.PATHUSAGE) - .ifPresent(_u -> optionEntry.removeEntry(PathEntryType.PATHUSAGE)))); } public void resetAllSignals() {