aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSHsuperCM <shsupercm@gmail.com>2021-08-29 05:00:50 +0300
committerSHsuperCM <shsupercm@gmail.com>2021-08-29 05:00:50 +0300
commit3a88b20abf6e1d79f34bc943d2abba4ac23928f9 (patch)
tree1f5eca6cc37c9702c92e0529ef6e8358a298823f /src
parent89d8435e80c8955d8299fe60d9a2169067f8ac75 (diff)
downloadCITResewn-3a88b20abf6e1d79f34bc943d2abba4ac23928f9.tar.gz
CITResewn-3a88b20abf6e1d79f34bc943d2abba4ac23928f9.tar.bz2
CITResewn-3a88b20abf6e1d79f34bc943d2abba4ac23928f9.zip
Fixed nbt list match exception
Diffstat (limited to 'src')
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CIT.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CIT.java b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CIT.java
index adcaa35..19e7527 100644
--- a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CIT.java
+++ b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CIT.java
@@ -201,7 +201,7 @@ public abstract class CIT {
try {
NbtElement subElement = nbtList.get(Integer.parseInt(name));
return subElement != null && test(subElement, index + 1);
- } catch (NumberFormatException ignored) {
+ } catch (Exception ignored) {
return false;
}
}