Log when model universe is restricted
This commit is contained in:
parent
900e5786b6
commit
8b0622ff5c
|
|
@ -154,6 +154,7 @@ public class ModelBakeEventHelper {
|
|||
modIdsToInclude.remove("minecraft");
|
||||
Set<ResourceLocation> ourModelLocations;
|
||||
if (config == UniverseVisibility.SELF_AND_DEPS) {
|
||||
ModernFix.LOGGER.debug("Mod {} is restricted to seeing models from mods: [{}]", modId, String.join(", ", modIdsToInclude));
|
||||
ourModelLocations = Sets.filter(this.topLevelModelLocations, loc -> modIdsToInclude.contains(loc.getNamespace()));
|
||||
} else {
|
||||
ourModelLocations = this.topLevelModelLocations;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user