Skip to content

Commit 8b0622f

Browse files
committed
Log when model universe is restricted
1 parent 900e578 commit 8b0622f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

forge/src/main/java/org/embeddedt/modernfix/forge/dynresources/ModelBakeEventHelper.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ public Map<ResourceLocation, BakedModel> wrapRegistry(String modId) {
154154
modIdsToInclude.remove("minecraft");
155155
Set<ResourceLocation> ourModelLocations;
156156
if (config == UniverseVisibility.SELF_AND_DEPS) {
157+
ModernFix.LOGGER.debug("Mod {} is restricted to seeing models from mods: [{}]", modId, String.join(", ", modIdsToInclude));
157158
ourModelLocations = Sets.filter(this.topLevelModelLocations, loc -> modIdsToInclude.contains(loc.getNamespace()));
158159
} else {
159160
ourModelLocations = this.topLevelModelLocations;

0 commit comments

Comments
 (0)