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 .client
.player_list() .player_list()
.get(uid) .get(uid)
.unwrap() .ok_or(format!("Failed to find player with uid {uid}."))?
.player_alias .player_alias
.clone(); .clone();