aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/shcm/shsupercm/fabric/citresewn/pack
diff options
context:
space:
mode:
authorSHsuperCM <shsupercm@gmail.com>2021-09-18 14:22:43 +0300
committerSHsuperCM <shsupercm@gmail.com>2021-09-18 14:22:43 +0300
commit158549e794a48d9defb52bee46ca02a4db30bdc8 (patch)
tree7ed06aaae267fb5990b6626e500a3ab5915b08d4 /src/main/java/shcm/shsupercm/fabric/citresewn/pack
parent9fc59f7f9e0611097ede30a3d8738b73860a9479 (diff)
downloadCITResewn-158549e794a48d9defb52bee46ca02a4db30bdc8.tar.gz
CITResewn-158549e794a48d9defb52bee46ca02a4db30bdc8.tar.bz2
CITResewn-158549e794a48d9defb52bee46ca02a4db30bdc8.zip
Logs
Diffstat (limited to 'src/main/java/shcm/shsupercm/fabric/citresewn/pack')
-rw-r--r--src/main/java/shcm/shsupercm/fabric/citresewn/pack/CITParser.java7
1 files changed, 6 insertions, 1 deletions
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<CITPack> parseFabricGroup(ResourcePack resourcePack) {