mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Revert "[Quest API] Cleanup string copies and push_backs. (#2807)"
This reverts commit bcc2e022dc.
This commit is contained in:
+2
-2
@@ -375,7 +375,7 @@ void Client::GoFish()
|
||||
|
||||
if (inst) {
|
||||
std::vector<std::any> args;
|
||||
args.emplace_back(inst);
|
||||
args.push_back(inst);
|
||||
parse->EventPlayer(EVENT_FISH_SUCCESS, this, "", inst->GetID(), &args);
|
||||
}
|
||||
}
|
||||
@@ -495,7 +495,7 @@ void Client::ForageItem(bool guarantee) {
|
||||
|
||||
if (inst) {
|
||||
std::vector<std::any> args;
|
||||
args.emplace_back(inst);
|
||||
args.push_back(inst);
|
||||
parse->EventPlayer(EVENT_FORAGE_SUCCESS, this, "", inst->GetID(), &args);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user