diff options
author | SHsuperCM <shsupercm@gmail.com> | 2021-08-29 05:00:50 +0300 |
---|---|---|
committer | SHsuperCM <shsupercm@gmail.com> | 2021-08-29 05:00:50 +0300 |
commit | 3a88b20abf6e1d79f34bc943d2abba4ac23928f9 (patch) | |
tree | 1f5eca6cc37c9702c92e0529ef6e8358a298823f /src/main/java/shcm/shsupercm/fabric/citresewn | |
parent | 89d8435e80c8955d8299fe60d9a2169067f8ac75 (diff) | |
download | CITResewn-3a88b20abf6e1d79f34bc943d2abba4ac23928f9.tar.gz CITResewn-3a88b20abf6e1d79f34bc943d2abba4ac23928f9.tar.bz2 CITResewn-3a88b20abf6e1d79f34bc943d2abba4ac23928f9.zip |
Fixed nbt list match exception
Diffstat (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn')
-rw-r--r-- | src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CIT.java | 2 |
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; } } |