mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-16 01:23:12 +01:00
use a linked hash map to avoid incorrect network item ordering
This commit is contained in:
parent
6b5c63059d
commit
dff54e4246
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ public class PipeNetwork extends SavedData implements GraphListener<BlockPos, Ne
|
|||
if (!this.isNode(node))
|
||||
return Collections.emptyList();
|
||||
this.startProfile("get_network_items");
|
||||
var ret = new HashMap<IItemHandler, NetworkLocation>();
|
||||
var ret = new LinkedHashMap<IItemHandler, NetworkLocation>();
|
||||
for (var dest : this.getOrderedNetworkNodes(node)) {
|
||||
if (!this.level.isLoaded(dest))
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue