1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-05-31 05:34:13 +00:00

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 String http_whitelist = "*";
public static boolean disable_lua51_features = false; public static boolean disable_lua51_features = false;
public static String default_computer_settings = ""; public static String default_computer_settings = "";
public static boolean logPeripheralErrors = true; public static boolean logPeripheralErrors = false;
public static boolean enableCommandBlock = false; public static boolean enableCommandBlock = false;
public static boolean turtlesNeedFuel = true; public static boolean turtlesNeedFuel = true;

View File

@ -215,7 +215,7 @@ public class CommandAPI implements ILuaAPI
// Ignore buggy command // Ignore buggy command
if( ComputerCraft.logPeripheralErrors ) if( ComputerCraft.logPeripheralErrors )
{ {
ComputerCraft.log.error( "Error running command.", t ); ComputerCraft.log.error( "Error checking permissions of command.", t );
} }
} }
} }