Disable peripheral logging by default

This commit is contained in:
SquidDev 2017-05-16 19:35:07 +01:00
parent efb0065ebd
commit 0e1135ed97
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ public class ComputerCraft
public static String http_whitelist = "*";
public static boolean disable_lua51_features = false;
public static String default_computer_settings = "";
public static boolean logPeripheralErrors = true;
public static boolean logPeripheralErrors = false;
public static boolean enableCommandBlock = false;
public static boolean turtlesNeedFuel = true;

View File

@ -215,7 +215,7 @@ public Object[] execute() throws LuaException
// Ignore buggy command
if( ComputerCraft.logPeripheralErrors )
{
ComputerCraft.log.error( "Error running command.", t );
ComputerCraft.log.error( "Error checking permissions of command.", t );
}
}
}