diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/itemdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/itemdb.c b/src/map/itemdb.c index 09303978c..7de99cf7e 100644 --- a/src/map/itemdb.c +++ b/src/map/itemdb.c @@ -75,7 +75,7 @@ struct item_data* itemdb_searchname(const char *str) { return item; //Second priority to Client displayed name. - if( strcasecmp(item->jname,str) == 0 ) + if( item2 != 0 && strcasecmp(item->jname,str) == 0 ) item2 = item; } |