Fixed Server starting.
This commit is contained in:
@@ -201,10 +201,10 @@ namespace Game.Movement
|
||||
{
|
||||
uint path, cost;
|
||||
Global.ObjectMgr.GetTaxiPath(taxi[src], taxi[dst], out path, out cost);
|
||||
if (path >= CliDB.TaxiPathNodesByPath.Keys.Max())
|
||||
if (path >= DB2Manager.TaxiPathNodesByPath.Keys.Max())
|
||||
return;
|
||||
|
||||
var nodes = CliDB.TaxiPathNodesByPath[path];
|
||||
var nodes = DB2Manager.TaxiPathNodesByPath[path];
|
||||
if (!nodes.Empty())
|
||||
{
|
||||
TaxiPathNodeRecord start = nodes[0];
|
||||
|
||||
@@ -1015,7 +1015,7 @@ namespace Game.Movement
|
||||
{
|
||||
if (_owner.IsTypeId(TypeId.Player))
|
||||
{
|
||||
if (path < CliDB.TaxiPathNodesByPath.Count)
|
||||
if (path < DB2Manager.TaxiPathNodesByPath.Count)
|
||||
{
|
||||
Log.outDebug(LogFilter.Server, $"MotionMaster::MoveTaxiFlight: {_owner.GetGUID()} taxi to Path Id: {path} (node {pathnode})");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user