Moved Integration Exceptions behind a Setting.
This commit is contained in:
parent
2286be4998
commit
db56892f0d
2 changed files with 10 additions and 2 deletions
|
@ -50,4 +50,12 @@ public class AELog
|
|||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
public static void integration(Throwable exception)
|
||||
{
|
||||
if ( AEConfig.instance.isFeatureEnabled( AEFeature.IntegrationLogging ) )
|
||||
{
|
||||
error( exception );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,8 +3,8 @@ package appeng.integration;
|
|||
import java.lang.reflect.Field;
|
||||
|
||||
import appeng.api.exceptions.ModNotInstalled;
|
||||
import appeng.core.AELog;
|
||||
import appeng.core.AEConfig;
|
||||
import appeng.core.AELog;
|
||||
import cpw.mods.fml.common.Loader;
|
||||
|
||||
public class IntegrationNode
|
||||
|
@ -89,7 +89,7 @@ public class IntegrationNode
|
|||
{
|
||||
AELog.info( displayName + " - Integration Disabled" );
|
||||
if ( !(exception instanceof ModNotInstalled) )
|
||||
AELog.error( exception );
|
||||
AELog.integration( exception );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue