diff --git a/Bot/Thief.fs b/Bot/Thief.fs index c712e23..077fbe5 100644 --- a/Bot/Thief.fs +++ b/Bot/Thief.fs @@ -84,7 +84,7 @@ let checkThiefCooldown attacker = attacker |> Player.removeExpiredActions |> fun p -> p.Events - |> Array.tryFind (fun pe -> match pe.Type with Stealing _ -> true | _ -> false) + |> Array.tryFind (fun pe -> match pe.Type with Stealing(instigator, _) -> instigator | _ -> false) |> function | Some act -> let cooldown = ThiefCooldown - (DateTime.UtcNow - act.Timestamp)