Fixes some errors with loot.

This commit is contained in:
hondacrx
2022-10-25 18:09:05 -04:00
parent 8bb51bdd05
commit 7fc3293fd4
4 changed files with 6 additions and 11 deletions
@@ -92,7 +92,7 @@ namespace Game.Entities
internal Dictionary<ObjectGuid, Loot> m_personalLoot = new();
public Loot _loot;
List<ObjectGuid> m_tapList = new();
HashSet<ObjectGuid> m_tapList = new();
}
public enum ObjectCellMoveState
+2 -2
View File
@@ -1244,8 +1244,8 @@ namespace Game.Entities
return false;
}
public List<ObjectGuid> GetTapList() { return m_tapList; }
public void SetTapList(List<ObjectGuid> tapList) { m_tapList = tapList; }
public HashSet<ObjectGuid> GetTapList() { return m_tapList; }
public void SetTapList(HashSet<ObjectGuid> tapList) { m_tapList = tapList; }
public bool HasLootRecipient() { return !m_tapList.Empty(); }
public void SaveToDB()