Skip to content

Commit

Permalink
fix ?
Browse files Browse the repository at this point in the history
Possible fixes #88close #88
  • Loading branch information
sddsd2332 committed Nov 29, 2024
1 parent a105a1c commit f01d141
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/main/java/mekanism/common/recipe/RecipeHandler.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package mekanism.common.recipe;

import com.google.common.collect.ImmutableList;
import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap;
import mekanism.api.gas.Gas;
import mekanism.api.gas.GasStack;
import mekanism.api.infuse.InfuseType;
Expand All @@ -19,10 +18,7 @@
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.lang.reflect.Constructor;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.*;
import java.util.Map.Entry;

/**
Expand Down Expand Up @@ -712,7 +708,7 @@ public static class Recipe<INPUT extends MachineInput<INPUT>, OUTPUT extends Mac
return values;
}

private final Object2ObjectOpenHashMap<INPUT, RECIPE> recipes = new Object2ObjectOpenHashMap<>();
private final HashMap<INPUT, RECIPE> recipes = new HashMap<>();
private final String recipeName;
@Nonnull
private final String jeiCategory;
Expand Down Expand Up @@ -846,7 +842,7 @@ public Class<RECIPE> getRecipeClass() {

// N.B. Must return a HashMap, not Map as Unidict expects the stronger type
@Nonnull
public Object2ObjectOpenHashMap<INPUT, RECIPE> get() {
public HashMap<INPUT, RECIPE> get() {
return recipes;
}
}
Expand Down

0 comments on commit f01d141

Please sign in to comment.