diff options
Diffstat (limited to 'src/SMAPI/Framework/Logging')
| -rw-r--r-- | src/SMAPI/Framework/Logging/LogManager.cs | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/src/SMAPI/Framework/Logging/LogManager.cs b/src/SMAPI/Framework/Logging/LogManager.cs index d83a5c0b..094dd749 100644 --- a/src/SMAPI/Framework/Logging/LogManager.cs +++ b/src/SMAPI/Framework/Logging/LogManager.cs @@ -138,15 +138,15 @@ namespace StardewModdingAPI.Framework.Logging              Thread inputThread = new Thread(() =>              {                  while (true) -            { +                {                      // get input -                string input = Console.ReadLine(); -                if (string.IsNullOrWhiteSpace(input)) -                    continue; +                    string input = Console.ReadLine(); +                    if (string.IsNullOrWhiteSpace(input)) +                        continue; -                // handle command -                this.Monitor.LogUserInput(input); -                handleInput(input); +                    // handle command +                    this.Monitor.LogUserInput(input); +                    handleInput(input);                  }              });              inputThread.Start(); | 
