aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io
diff options
context:
space:
mode:
authorNopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com>2022-11-02 12:08:52 +0000
committerGitHub <noreply@github.com>2022-11-02 13:08:52 +0100
commit225ca575ba53b581e7ecfb77ae5f5dbc3b8483eb (patch)
tree7751aa4c20a436b60db8d32f7f06cbc9527d1825 /src/main/java/io
parente892e571122498a1888b4b6b38bcead23313974c (diff)
downloadNotEnoughUpdates-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/java/io')
-rw-r--r--src/main/java/io/github/moulberry/notenoughupdates/NEUManager.java4
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) {