Fix unwrap-related crash

This commit is contained in:
Jeff 2024-07-02 18:01:48 -04:00
parent c9572ab402
commit 48b6791d67

View File

@ -197,7 +197,7 @@ impl Bot {
.client
.player_list()
.get(uid)
.unwrap()
.ok_or(format!("Failed to find player with uid {uid}."))?
.player_alias
.clone();