mirror of
https://github.com/liyunfan1223/mod-playerbots.git
synced 2026-06-20 15:39:25 +02:00
fix(Core/RPG): Drop per-tick travelplan whisper to silence spam
This commit is contained in:
parent
df77ea730d
commit
270689bc22
@ -163,8 +163,10 @@ bool NewRpgBaseAction::MoveFarTo(WorldPosition dest)
|
|||||||
StartTravelPlan(dest);
|
StartTravelPlan(dest);
|
||||||
if (botAI->rpgInfo.HasActiveTravelPlan())
|
if (botAI->rpgInfo.HasActiveTravelPlan())
|
||||||
{
|
{
|
||||||
EmitDebugMove("MoveFar", "travelplan",
|
// No `travelplan` label here — per-tick re-resolve calls
|
||||||
dest.GetPositionX(), dest.GetPositionY(), dest.GetPositionZ());
|
// StartTravelPlan every tick, which would whisper-spam.
|
||||||
|
// The executor emits per-step labels (TravelPlan:walk-start,
|
||||||
|
// TravelPlan:flight, TravelPlan:transport-*) on actual dispatch.
|
||||||
return UpdateTravelPlan();
|
return UpdateTravelPlan();
|
||||||
}
|
}
|
||||||
// Graph returned no plan — fall through to mmap probe.
|
// Graph returned no plan — fall through to mmap probe.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user