Core/Misc: Move GetContentTuningForArea from ObjectMgr to DB2Manager

Port From (https://github.com/TrinityCore/TrinityCore/commit/8f38c12c4e7d832a91c7719ee1a5ac4d801862a6)
This commit is contained in:
hondacrx
2023-03-14 04:14:30 -04:00
parent a98dc65a3b
commit 8bb67e69c5
3 changed files with 19 additions and 19 deletions
@@ -2007,7 +2007,7 @@ namespace Game.Entities
}
// Update the correct fishing skill according to the area's ContentTuning
ContentTuningRecord areaContentTuning = Global.ObjectMgr.GetContentTuningForArea(areaEntry);
ContentTuningRecord areaContentTuning = Global.DB2Mgr.GetContentTuningForArea(areaEntry);
if (areaContentTuning == null)
break;