diff options
author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2022-11-02 12:08:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-02 13:08:52 +0100 |
commit | 225ca575ba53b581e7ecfb77ae5f5dbc3b8483eb (patch) | |
tree | 7751aa4c20a436b60db8d32f7f06cbc9527d1825 /src/main | |
parent | e892e571122498a1888b4b6b38bcead23313974c (diff) | |
download | NotEnoughUpdates-225ca575ba53b581e7ecfb77ae5f5dbc3b8483eb.tar.gz NotEnoughUpdates-225ca575ba53b581e7ecfb77ae5f5dbc3b8483eb.tar.bz2 NotEnoughUpdates-225ca575ba53b581e7ecfb77ae5f5dbc3b8483eb.zip |
Fixed clicking on items that dont have normal recipe (#413)
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java | 4 |
1 files changed, 4 insertions, 0 deletions
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) { |