diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-02-15 01:18:24 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-02-15 01:19:04 +0800 |
| commit | 9ed854f764cb780abbd90c72f9175e24fc48f518 (patch) | |
| tree | 7f673807d4eea310b2c780a3812b3a7bd6f79097 /src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java | |
| parent | 9debf93e15a642771d0987d6e8402858a963fa19 (diff) | |
| download | RoughlyEnoughItems-9ed854f764cb780abbd90c72f9175e24fc48f518.tar.gz RoughlyEnoughItems-9ed854f764cb780abbd90c72f9175e24fc48f518.tar.bz2 RoughlyEnoughItems-9ed854f764cb780abbd90c72f9175e24fc48f518.zip | |
Beacon Base 4.0.2
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java b/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java index 15ef1cd24..8b73d7603 100644 --- a/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java +++ b/src/main/java/me/shedaniel/rei/gui/RecipeViewingScreen.java @@ -87,7 +87,7 @@ public class RecipeViewingScreen extends Screen { if (widget instanceof EntryWidget) { EntryWidget entry = (EntryWidget) widget; if (entry.entries().size() > 1) { - EntryStack stack = CollectionUtils.firstOrNullEqualsAll(entry.entries(), mainStackToNotice); + EntryStack stack = CollectionUtils.findFirstOrNullEqualsEntryIgnoreAmount(entry.entries(), mainStackToNotice); if (stack != null) { entry.clearStacks(); entry.entry(stack); |
