From 3a88b20abf6e1d79f34bc943d2abba4ac23928f9 Mon Sep 17 00:00:00 2001 From: SHsuperCM Date: Sun, 29 Aug 2021 05:00:50 +0300 Subject: Fixed nbt list match exception --- src/main/java/shcm/shsupercm/fabric/citresewn/pack/cits/CIT.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/shcm/shsupercm') 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; } } -- cgit