|
@@ -1013,8 +1013,10 @@ int pet_lootitem_drop(struct pet_data *pd,struct map_session_data *sd)
|
|
memcpy(&ditem->item_data, it, sizeof(struct item));
|
|
memcpy(&ditem->item_data, it, sizeof(struct item));
|
|
ditem->next = dlist->item;
|
|
ditem->next = dlist->item;
|
|
dlist->item = ditem;
|
|
dlist->item = ditem;
|
|
- } else
|
|
|
|
- log_pick_pc(sd, "P", it->nameid, it->amount, it);
|
|
|
|
|
|
+ } else {
|
|
|
|
+ if (log_config.enable_logs & LOG_PLAYER_ITEMS)
|
|
|
|
+ log_pick_pc(sd, "P", it->nameid, it->amount, it);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
else {
|
|
else {
|
|
ditem = ers_alloc(item_drop_ers, struct item_drop);
|
|
ditem = ers_alloc(item_drop_ers, struct item_drop);
|