Attempt to fix CME when opening recipes immediately after load (#403)

This commit is contained in:
Raven Szewczyk authored and GitHub committed 2023-07-16 09:00:35 +01:00
1 parent 65ffbad491
commit d613d06471
2 files changed
+12

No files matched your search

@@ -277,6 +277,10 @@ public class ItemsGrid {
}
private void drawRecipeTooltip(int mousex, int mousey, List<String> itemTooltip) {
if (!NEIClientConfig.isLoaded()) {
return;
}
final Minecraft mc = Minecraft.getMinecraft();
ItemPanelSlot focused = getSlotMouseOver(mousex, mousey);
if (focused == null) {