mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Garrison: Crash fix
This commit is contained in:
@@ -34,7 +34,7 @@ bool Garrison::LoadFromDB(PreparedQueryResult garrison, PreparedQueryResult blue
|
||||
return false;
|
||||
|
||||
Field* fields = garrison->Fetch();
|
||||
_siteLevel = sGarrSiteLevelStore.LookupEntry(_siteLevel->ID);
|
||||
_siteLevel = sGarrSiteLevelStore.LookupEntry(fields[0].GetUInt32());
|
||||
_followerActivationsRemainingToday = fields[1].GetUInt32();
|
||||
if (!_siteLevel)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user