From c194eb84362a756642525bd65726d94a3589064b Mon Sep 17 00:00:00 2001 From: Goose Bomb Date: Mon, 10 May 2021 00:22:15 +0800 Subject: [PATCH] Do not log minecraft messages except for errors --- GBCLV3/Services/Launch/LaunchService.cs | 2 -- 1 file changed, 2 deletions(-) diff --git a/GBCLV3/Services/Launch/LaunchService.cs b/GBCLV3/Services/Launch/LaunchService.cs index 45786a1..6752794 100644 --- a/GBCLV3/Services/Launch/LaunchService.cs +++ b/GBCLV3/Services/Launch/LaunchService.cs @@ -80,7 +80,6 @@ public async Task LaunchGameAsync(LaunchProfile profile, Version version) private void OnOutputDataReceived(object sender, DataReceivedEventArgs e) { - _logService.Minecraft(e.Data); LogReceived?.Invoke(e.Data); } @@ -91,7 +90,6 @@ private void OnErrorDaraReceived(object sender, DataReceivedEventArgs e) return; } - _logService.Error(nameof(LaunchService), "Game error occurred"); _logService.Minecraft(e.Data); }