mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-19 13:28:25 +00:00
Fatality! (Fix for event_say parse events not observing the correct parser for their situation)
This commit is contained in:
@@ -8297,7 +8297,9 @@ void Client::Handle_OP_ItemLinkClick(const EQApplicationPacket *app)
|
||||
parse->EventPlayer(EVENT_BOT_COMMAND, this, response.substr(1).c_str(), 0);
|
||||
}
|
||||
#endif
|
||||
parse->EventPlayer(EVENT_SAY, this, response.c_str(), 0);
|
||||
else {
|
||||
parse->EventPlayer(EVENT_SAY, this, response.c_str(), 0);
|
||||
}
|
||||
}
|
||||
else {
|
||||
Message(Chat::LightGray, "You say, '%s'", response.c_str());
|
||||
@@ -8315,7 +8317,9 @@ void Client::Handle_OP_ItemLinkClick(const EQApplicationPacket *app)
|
||||
parse->EventPlayer(EVENT_BOT_COMMAND, this, response.substr(1).c_str(), 0);
|
||||
}
|
||||
#endif
|
||||
parse->EventPlayer(EVENT_SAY, this, response.c_str(), 0);
|
||||
else {
|
||||
parse->EventPlayer(EVENT_SAY, this, response.c_str(), 0);
|
||||
}
|
||||
}
|
||||
else {
|
||||
Message(Chat::LightGray, "You say, '%s'", response.c_str());
|
||||
|
||||
Reference in New Issue
Block a user