Skip to content

Commit

Permalink
启用 #define TryCatch
Browse files Browse the repository at this point in the history
  • Loading branch information
back18 committed Oct 1, 2023
1 parent d17bb9e commit d6e7df0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions MCBS.ConsoleTerminal/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//#define TryCatch
#define TryCatch

using FFMediaToolkit;
using log4net.Core;
Expand Down Expand Up @@ -56,7 +56,6 @@ private static void Main(string[] args)
#endif

MinecraftInstance minecraftInstance;
MCOS mcos;

#if TryCatch
try
Expand Down Expand Up @@ -94,7 +93,7 @@ private static void Main(string[] args)
}
#endif

mcos = MCOS.LoadInstance(minecraftInstance);
MCOS mcos = MCOS.LoadInstance(minecraftInstance);
AppComponentLoader.LoadAll(mcos);

mcos.Start("System Thread");
Expand Down

0 comments on commit d6e7df0

Please sign in to comment.