Fixed item restrictions for noreturn

Fixes #7537

Thanks to @mazvi
This commit is contained in:
Lemongrass3110
2023-01-09 15:12:31 +01:00
parent 4836d8e77a
commit e64c5bce35

View File

@@ -6065,7 +6065,7 @@ bool pc_isUseitem(map_session_data *sd,int n)
}
}
if( itemdb_group.item_exists( MF_NORETURN, nameid ) ){
if( itemdb_group.item_exists( IG_MF_NORETURN, nameid ) ){
if( mapdata->flag[MF_NORETURN] ){
return false;
}