From 225ca575ba53b581e7ecfb77ae5f5dbc3b8483eb Mon Sep 17 00:00:00 2001 From: NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> Date: Wed, 2 Nov 2022 12:08:52 +0000 Subject: Fixed clicking on items that dont have normal recipe (#413) --- src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/main') diff --git a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java index 5fe902fb..a30ca08a 100644 --- a/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java +++ b/src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java @@ -888,7 +888,11 @@ public class NEUManager { break; case "viewpotion": neu.sendChatMessage("/viewpotion " + internalName.split(";")[0].toLowerCase(Locale.ROOT)); + break; + default: + displayGuiItemRecipe(internalName); } + } public void showRecipe(String internalName) { -- cgit