Skip to content

Commit

Permalink
make picker results linked
Browse files Browse the repository at this point in the history
  • Loading branch information
deirn committed Dec 6, 2023
1 parent bd6ae32 commit 9d4245a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/mcp/mobius/waila/pick/PickerResults.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package mcp.mobius.waila.pick;

import java.util.Comparator;
import java.util.IdentityHashMap;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;

import mcp.mobius.waila.api.IPickerResults;
Expand All @@ -13,7 +13,7 @@ public enum PickerResults implements IPickerResults {

INSTANCE;

private final Map<HitResult, Entry> map = new IdentityHashMap<>();
private final Map<HitResult, Entry> map = new LinkedHashMap<>();

@Override
public void add(HitResult result, Vec3 origin, Vec3 viewVector) {
Expand Down

0 comments on commit 9d4245a

Please sign in to comment.