From 9a7ddd2e1846cb1f116a2f9a60ac7711441fb8a0 Mon Sep 17 00:00:00 2001 From: EvilFactory Date: Wed, 25 Oct 2023 12:25:37 -0300 Subject: [PATCH] Removed a pointless warning and made turned some warnings into actual warnings --- .../SharedSource/LuaCs/Plugins/CsPackageManager.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Plugins/CsPackageManager.cs b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Plugins/CsPackageManager.cs index 8b77c6e598..a92f0ea388 100644 --- a/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Plugins/CsPackageManager.cs +++ b/Barotrauma/BarotraumaShared/SharedSource/LuaCs/Plugins/CsPackageManager.cs @@ -941,15 +941,11 @@ private static bool TryBuildDependenciesMap(ImmutableList packag } else { - ModUtils.Logging.PrintError($"Warning! The ContentPackage {package.Name} lists a dependency of (STEAMID: {dependency.SteamWorkshopId}, PackageName: {dependency.PackageName}) but it could not be found in the to-be-loaded CSharp packages list!"); + ModUtils.Logging.PrintWarning($"Warning: The ContentPackage {package.Name} lists a dependency of (STEAMID: {dependency.SteamWorkshopId}, PackageName: {dependency.PackageName}) but it could not be found in the to-be-loaded CSharp packages list!"); reliableMap = false; } } } - else - { - ModUtils.Logging.PrintMessage($"Warning! Could not retrieve RunConfig for ContentPackage {package.Name}!"); - } } return reliableMap; @@ -1039,7 +1035,7 @@ PackageProcRet ProcessPackage(ContentPackage packageToProcess, IEnumerable