mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-16 02:04:59 +00:00
Correctly used tools in favorites (#670)
This commit is contained in:
1 parent
cd7d014704
commit
56941cc45d
3 files changed
+47
-8
No files matched your search
@@ -295,7 +295,7 @@ public abstract class ShortcutInputHandler {
|
||||
recipe.getIngredients().stream().forEach(ingr -> {
|
||||
final List<ItemStack> permutations = ingr.getPermutations();
|
||||
for (int index = 0; index < permutations.size(); index++) {
|
||||
if (FavoriteRecipes.getFavorite(permutations.get(index)) != null) {
|
||||
if (FavoriteRecipes.contains(permutations.get(index))) {
|
||||
ingr.setActiveIndex(index);
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user