fix
This commit is contained in:
parent
1cc0b61c35
commit
31d5fd2b83
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ impl ItemDB {
|
|||
|
||||
/// Retrieves an item by name
|
||||
pub fn get_item(&self, item: &str) -> Option<&Item> {
|
||||
self.index.get(item)
|
||||
self.index.get(&item.to_lowercase())
|
||||
}
|
||||
|
||||
/// Get all items
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue