From 158549e794a48d9defb52bee46ca02a4db30bdc8 Mon Sep 17 00:00:00 2001 From: SHsuperCM Date: Sat, 18 Sep 2021 14:22:43 +0300 Subject: Logs --- src/main/java/shcm/shsupercm/fabric/citresewn/pack/CITParser.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn/pack') diff --git a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/CITParser.java b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/CITParser.java index 5a2d427..7313301 100644 --- a/src/main/java/shcm/shsupercm/fabric/citresewn/pack/CITParser.java +++ b/src/main/java/shcm/shsupercm/fabric/citresewn/pack/CITParser.java @@ -102,7 +102,12 @@ public final class CITParser { private CITParser() {} }) .collect(Collectors.toCollection(() -> citPack.cits)); - return citPack.cits.isEmpty() ? Collections.emptySet() : Collections.singleton(citPack); + if (citPack.cits.isEmpty()) + return Collections.emptySet(); + else { + CITResewn.info("Found " + citPack.cits.size() + " CIT" + (citPack.cits.size() == 1 ? "" : "s") + " in " + resourcePack.getName()); + return Collections.singleton(citPack); + } } public static Collection parseFabricGroup(ResourcePack resourcePack) { -- cgit