Removed unnecessary else

This commit is contained in:
Dev 2024-05-30 16:07:12 +01:00
parent a8b2cb8f31
commit 3120ab8f91

View File

@ -51,8 +51,7 @@ public class JsonFileIntakeReader : IIntakeReader
return true;
}
else
{
// Map dump limit reached, exit
if (LoggerFactory.GetInstance().CanBeLogged(LogLevel.Debug))
LoggerFactory.GetInstance().Log($"Ignoring file {file} as the file cap for map {fi.Data.Id} has been reached", LogLevel.Debug);
@ -60,7 +59,6 @@ public class JsonFileIntakeReader : IIntakeReader
return false;
}
}
if (LoggerFactory.GetInstance().CanBeLogged(LogLevel.Warning))
LoggerFactory.GetInstance().Log(