From 744df606532772d2171788c07c9bc20d2c328bae Mon Sep 17 00:00:00 2001 From: milimoe Date: Wed, 30 Jul 2025 23:24:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=B2=E6=AD=A2=E7=A9=BA=E5=9B=9E=E8=BD=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- FunGame.Server/Services/General.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/FunGame.Server/Services/General.cs b/FunGame.Server/Services/General.cs index e423ddc..1b5eef1 100644 --- a/FunGame.Server/Services/General.cs +++ b/FunGame.Server/Services/General.cs @@ -91,7 +91,6 @@ namespace Milimoe.FunGame.Server.Services Console.Write("\r" + GetPrefix(type, level) + msg + "> "); Console.ResetColor(); } - else Type(); } public static void WriteLine(string msg, InvokeMessageType type = InvokeMessageType.System, LogLevel level = LogLevel.Info, bool useLevel = true) @@ -108,8 +107,8 @@ namespace Milimoe.FunGame.Server.Services if (!useLevel || ((int)level >= (int)Config.LogLevelValue)) { Console.WriteLine("\r" + GetPrefix(type, level) + msg); + Type(); } - Type(); } public static void WriteLine_Addons(string addon, string msg, InvokeMessageType type = InvokeMessageType.System, LogLevel level = LogLevel.Info, bool useLevel = true) @@ -126,8 +125,8 @@ namespace Milimoe.FunGame.Server.Services if (!useLevel || ((int)level >= (int)Config.LogLevelValue)) { Console.WriteLine("\r" + GetPrefix(type, level, addon) + msg); + Type(); } - Type(); } public static void Type()