File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed 
Library/src/main/java/mezz/jei/library/plugins/vanilla/ingredients Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 44import  mezz .jei .common .Internal ;
55import  mezz .jei .common .config .IClientConfig ;
66import  mezz .jei .common .config .IJeiClientConfigs ;
7+ import  mezz .jei .common .platform .Services ;
78import  mezz .jei .common .util .ErrorUtil ;
89import  mezz .jei .common .util .RegistryUtil ;
910import  mezz .jei .common .util .StackHelper ;
1920import  net .minecraft .world .item .CreativeModeTabs ;
2021import  net .minecraft .world .item .ItemStack ;
2122import  org .apache .commons .lang3 .StringUtils ;
23+ import  org .apache .logging .log4j .Level ;
2224import  org .apache .logging .log4j .LogManager ;
2325import  org .apache .logging .log4j .Logger ;
26+ import  org .apache .logging .log4j .Marker ;
2427import  org .jetbrains .annotations .Nullable ;
2528import  org .jetbrains .annotations .Unmodifiable ;
2629
@@ -177,7 +180,8 @@ private static void addFromTab(
177180			);
178181		}
179182		if  (duplicateInTabCount  > 0 ) {
180- 			LOGGER .warn (
183+ 			Level  level  = Services .PLATFORM .getModHelper ().isInDev () ? Level .WARN  : Level .DEBUG ;
184+ 			LOGGER .log (level ,
181185				""" 
182186					{} duplicate items were found in '{}' creative tab's: {} 
183187					This may indicate that these types of item need a subtype interpreter added to JEI: 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments