Core/Movement: move MoveSplineInit
Port From (https://github.com/TrinityCore/TrinityCore/commit/d59a6af9c694713fd868db4bae09df3f8b9e041e)
This commit is contained in:
@@ -2323,7 +2323,7 @@ namespace Scripts.World.NpcSpecial
|
||||
init.DisableTransportPathTransformations();
|
||||
init.MoveTo(x, y, z, false);
|
||||
init.SetFacing(o);
|
||||
init.Launch();
|
||||
who.GetMotionMaster().LaunchMoveSpline(init, EventId.VehicleBoard, MovementSlot.Controlled);
|
||||
who.m_Events.AddEvent(new CastFoodSpell(who, SpellIds.ChairSpells[who.GetEntry()]), who.m_Events.CalculateTime(1000));
|
||||
Creature creature = who.ToCreature();
|
||||
if (creature)
|
||||
|
||||
Reference in New Issue
Block a user