mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
Fix #101; Unidict has a strong dependence on a more specific type
This commit is contained in:
1 parent
f4ab343dab
commit
59f4438fb2
1 file changed
+3
-2
@@ -673,7 +673,7 @@ public final class RecipeHandler {
|
||||
return values;
|
||||
}
|
||||
|
||||
private final Map<INPUT, RECIPE> recipes = new HashMap<>();
|
||||
private final HashMap<INPUT, RECIPE> recipes = new HashMap<>();
|
||||
private final String recipeName;
|
||||
private final String oldRecipeName;
|
||||
private final String jeiCategory;
|
||||
@@ -800,7 +800,8 @@ public final class RecipeHandler {
|
||||
return false;
|
||||
}
|
||||
|
||||
public Map<INPUT, RECIPE> get() {
|
||||
// N.B. Must return a HashMap, not Map as Unidict expects the stronger type
|
||||
public HashMap<INPUT, RECIPE> get() {
|
||||
return recipes;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user