From dff54e42460391ddeda9a7e66acb5ddf72c43e73 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 21 May 2024 11:33:19 +0200 Subject: [PATCH] use a linked hash map to avoid incorrect network item ordering --- src/main/java/de/ellpeck/prettypipes/network/PipeNetwork.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/prettypipes/network/PipeNetwork.java b/src/main/java/de/ellpeck/prettypipes/network/PipeNetwork.java index 38dcebd..a6f0490 100644 --- a/src/main/java/de/ellpeck/prettypipes/network/PipeNetwork.java +++ b/src/main/java/de/ellpeck/prettypipes/network/PipeNetwork.java @@ -340,7 +340,7 @@ public class PipeNetwork extends SavedData implements GraphListener(); + var ret = new LinkedHashMap(); for (var dest : this.getOrderedNetworkNodes(node)) { if (!this.level.isLoaded(dest)) continue;