Small perf improvement inside HandlePreRaidInventoryChecks

This commit is contained in:
Chomp
2025-09-08 13:12:45 +01:00
parent 7ec29e1e12
commit f8de9c795e
@@ -159,7 +159,12 @@ public class LocationLifecycleService(
{
return;
}
logger.Debug("Wiping player inventory on raid start to prevent alt-f4");
if (logger.IsLogEnabled(LogLevel.Debug))
{
logger.Debug("Wiping player inventory on raid start to prevent alt-f4");
}
inRaidHelper.DeleteInventory(pmcData, sessionId);
}