Correctly find the recipeId under mouse when using the search (#465)

* Correctly find the recipeId under mouse when using the search

* optimize

---------

Co-authored-by: slprime <history-21@yandex.ru>
This commit is contained in:
slprimeandslprime authored and GitHub committed 2024-03-01 19:36:15 +01:00
1 parent 94676e0934
commit ea03cfa17d
3 files changed
+14 -10

No files matched your search

@@ -1631,7 +1631,7 @@ public class BookmarkPanel extends PanelWidget {
itemStr);
}
} catch (IllegalArgumentException | JsonSyntaxException e) {
} catch (IllegalArgumentException | JsonSyntaxException | IllegalStateException e) {
NEIClientConfig.logger.error("Failed to load bookmarked ItemStack from json string:\n{}", itemStr);
}
}