Made use of Lock as.net 9 has optimisations for this object type

This commit is contained in:
Chomp
2025-05-28 11:18:50 +01:00
parent 8a382f5d63
commit 45bc4191dd
@@ -26,9 +26,9 @@ public class PMCLootGenerator
private Dictionary<string, double>? _pocketLootPool;
private Dictionary<string, double>? _vestLootPool;
protected object BackpackLock = new();
protected object PocketLock = new();
protected object VestLock = new();
protected Lock BackpackLock = new();
protected Lock PocketLock = new();
protected Lock VestLock = new();
public PMCLootGenerator(
ISptLogger<PMCLootGenerator> logger,