Core/Misc: Fix null error and not finding transports
This commit is contained in:
@@ -975,7 +975,7 @@ namespace Game.AI
|
||||
bool mForcedPaused;
|
||||
uint mInvincibilityHpLevel;
|
||||
|
||||
WaypointPath _path;
|
||||
WaypointPath _path = new WaypointPath();
|
||||
uint mDespawnTime;
|
||||
uint mRespawnTime;
|
||||
uint mDespawnState;
|
||||
|
||||
@@ -3094,7 +3094,7 @@ namespace Game.Maps
|
||||
|
||||
public GameObject GetGameObject(ObjectGuid guid)
|
||||
{
|
||||
if (!guid.IsGameObject())
|
||||
if (!guid.IsAnyTypeGameObject())
|
||||
return null;
|
||||
|
||||
return (GameObject)_objectsStore.LookupByKey(guid);
|
||||
|
||||
Reference in New Issue
Block a user