Update LoggerClient.cs

This commit is contained in:
Mira 2023-06-18 21:43:23 +02:00
parent 40e8632a77
commit e18aa2ef51
Signed by untrusted user who does not match committer: Xorog
GPG key ID: 983798ED9C3E7C36

View file

@ -152,7 +152,7 @@ public sealed class LoggerClient : ILogger
if (inTemplate)
{
attemptedParsing = true;
if (currentLog.Args?.Length >= currentArg)
if (currentLog.Args?.Length >= currentArg && currentLog.Args?.Length != 0)
{
try
{