Core/Unit: Add more logs for
Port From (https://github.com/TrinityCore/TrinityCore/commit/98e4bc2d3dda4ab9f5f7cd736bdf5f5e206b2ebb)
This commit is contained in:
@@ -107,6 +107,12 @@ namespace Game.Entities
|
||||
return;
|
||||
}
|
||||
|
||||
if (!IsInWorld)
|
||||
{
|
||||
Log.outFatal(LogFilter.Unit, $"SetMinion: Minion being added to owner not in world. Minion: {minion.GetGUID()}, Owner: {GetDebugInfo()}");
|
||||
return;
|
||||
}
|
||||
|
||||
minion.SetOwnerGUID(GetGUID());
|
||||
|
||||
if (!m_Controlled.Contains(minion))
|
||||
|
||||
Reference in New Issue
Block a user