mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-26 20:02:25 +01:00
Update src/server/scripts/Commands/cs_mmaps.cpp
This commit is contained in:
@@ -96,7 +96,7 @@ public:
|
||||
bool result = path.CalculatePath(x, y, z);
|
||||
|
||||
PointsArray pointPath = path.GetPath();
|
||||
handler->PSendSysMessage("%s's path to %s:", target->GetName(), player->GetName());
|
||||
handler->PSendSysMessage("%s's path to %s:", target->GetName().c_str(), player->GetName().c_str());
|
||||
handler->PSendSysMessage("Building: %s", useStraightPath ? "StraightPath" : "SmoothPath");
|
||||
handler->PSendSysMessage("Result: %s - Length: %i - Type: %u", (result ? "true" : "false"), pointPath.size(), path.GetPathType());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user