diff options
Diffstat (limited to 'src/map/atcommand.cpp')
-rw-r--r-- | src/map/atcommand.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/atcommand.cpp b/src/map/atcommand.cpp index a6c89e5..6833b15 100644 --- a/src/map/atcommand.cpp +++ b/src/map/atcommand.cpp @@ -1351,6 +1351,8 @@ ATCE atcommand_item(Session *s, dumb_ptr<map_session_data> sd, item_id = item_data->nameid; else if (extract(item_name, &item_id) && (item_data = itemdb_exists(item_id)) != NULL) item_id = item_data->nameid; + else + return ATCE::EXIST; if (item_id) { |