Core/Misc: Moved CharacterInfo out of world to separate class
Port From (https://github.com/TrinityCore/TrinityCore/commit/ad4e63bae145ae49b584ab2fc621660430cec0d3)
This commit is contained in:
@@ -201,7 +201,11 @@ public class ObjectAccessor : Singleton<ObjectAccessor>
|
||||
|
||||
return player;
|
||||
}
|
||||
|
||||
public Player FindPlayerByLowGUID(ulong lowguid)
|
||||
{
|
||||
ObjectGuid guid = ObjectGuid.Create(HighGuid.Player, lowguid);
|
||||
return FindPlayer(guid);
|
||||
}
|
||||
// this returns Player even if he is not in world, for example teleporting
|
||||
public Player FindConnectedPlayer(ObjectGuid guid)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user