aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorKevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>2023-02-12 20:27:49 -0500
committerKevinthegreat <92656833+kevinthegreat1@users.noreply.github.com>2023-02-12 20:28:04 -0500
commitedf78d0f5c80556aea2a97d46f2da8cc38596358 (patch)
tree5f274e53bfb4963f0ef510c64ee27a43df4c64fc /src/main/java
parent74ea33f16a68f3fd0430d42ba08776b6b5a6d7de (diff)
downloadSkyblocker-edf78d0f5c80556aea2a97d46f2da8cc38596358.tar.gz
Skyblocker-edf78d0f5c80556aea2a97d46f2da8cc38596358.tar.bz2
Skyblocker-edf78d0f5c80556aea2a97d46f2da8cc38596358.zip
Fixed IndexOutOfBoundsException in WikiLookup
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/me/xmrvizzy/skyblocker/skyblock/item/WikiLookup.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/me/xmrvizzy/skyblocker/skyblock/item/WikiLookup.java b/src/main/java/me/xmrvizzy/skyblocker/skyblock/item/WikiLookup.java
index 1e3e6af7..afaf487f 100644
--- a/src/main/java/me/xmrvizzy/skyblocker/skyblock/item/WikiLookup.java
+++ b/src/main/java/me/xmrvizzy/skyblocker/skyblock/item/WikiLookup.java
@@ -65,7 +65,7 @@ public class WikiLookup {
} catch (IOException | NullPointerException e) {
e.printStackTrace();
client.player.sendMessage(Text.of("Can't locate a wiki article for this item..."), false);
- } catch (ArrayIndexOutOfBoundsException | IllegalStateException e) {
+ } catch (IndexOutOfBoundsException | IllegalStateException e) {
e.printStackTrace();
client.player.sendMessage(Text.of("Error while retrieving wiki article..."), false);
}