mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-11-22 11:53:29 +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))
|
if (!this.isNode(node))
|
||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
this.startProfile("get_network_items");
|
this.startProfile("get_network_items");
|
||||||
var ret = new HashMap<IItemHandler, NetworkLocation>();
|
var ret = new LinkedHashMap<IItemHandler, NetworkLocation>();
|
||||||
for (var dest : this.getOrderedNetworkNodes(node)) {
|
for (var dest : this.getOrderedNetworkNodes(node)) {
|
||||||
if (!this.level.isLoaded(dest))
|
if (!this.level.isLoaded(dest))
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Reference in a new issue