Compare commits
2 commits
104ff733b3
...
c2f400a60b
| Author | SHA1 | Date | |
|---|---|---|---|
| c2f400a60b | |||
|
|
fc282fda54 |
1 changed files with 4 additions and 3 deletions
|
|
@ -5,6 +5,7 @@
|
|||
#include "DBCStores.h"
|
||||
#include "GameObject.h"
|
||||
#include "Log.h"
|
||||
#include "WorldSessionMgr.h"
|
||||
#include "Map.h"
|
||||
#include "MapMgr.h"
|
||||
#include "ObjectAccessor.h"
|
||||
|
|
@ -324,7 +325,7 @@ public:
|
|||
_currentSite.MapId, _currentSite.ZoneId, _currentSite.AreaId, anchor->GetName());
|
||||
}
|
||||
|
||||
ChatHandler(nullptr).SendWorldText(Acore::StringFormat(_config.StartMessage, FormatLocationForAnnouncement(_currentSite, anchor)));
|
||||
sWorldSessionMgr->SendServerMessage(SERVER_MSG_STRING, Acore::StringFormat(_config.StartMessage, FormatLocationForAnnouncement(_currentSite, anchor)));
|
||||
|
||||
if (_config.Debug)
|
||||
{
|
||||
|
|
@ -877,7 +878,7 @@ private:
|
|||
}
|
||||
|
||||
std::string announcementLocation = FormatLocationForAnnouncement(_currentSite, anchor);
|
||||
ChatHandler(nullptr).SendWorldText(Acore::StringFormat(_config.StartMessage, announcementLocation));
|
||||
sWorldSessionMgr->SendServerMessage(SERVER_MSG_STRING, Acore::StringFormat(_config.StartMessage, announcementLocation));
|
||||
|
||||
if (_config.Debug)
|
||||
{
|
||||
|
|
@ -898,7 +899,7 @@ private:
|
|||
return;
|
||||
|
||||
std::string location = BuildLocationText(_currentSite);
|
||||
ChatHandler(nullptr).SendWorldText(Acore::StringFormat(_config.EndMessage, location));
|
||||
sWorldSessionMgr->SendServerMessage(SERVER_MSG_STRING, Acore::StringFormat(_config.EndMessage, location));
|
||||
|
||||
if (_config.Debug)
|
||||
LOG_INFO(GoldRushLogFilter, "Gold Rush ended in {}{}.", location, forced ? " (forced)" : "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue