We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24190a1 commit bff19adCopy full SHA for bff19ad
src/main/java/com/ferreusveritas/dynamictrees/resources/Resources.java
@@ -120,7 +120,10 @@ private static void registerModTreePacks() {
120
121
122
private static void addModResourcePack(IModInfo modInfo) {
123
-
+ final IModFile modFile = modInfo.getOwningFile().getFile();
124
+ if (modFile.getProvider().isValid(modFile)) {
125
+ addModResourcePack(modFile);
126
+ }
127
}
128
129
private static void addModResourcePack(IModFile modFile) {
0 commit comments