Skip to content

Commit

Permalink
[Hotfix] Fix issue with blocked spells not loading properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Akkadius committed Oct 31, 2023
1 parent 0a3972d commit 4af191c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zone/zonedb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2850,7 +2850,7 @@ uint8 ZoneDatabase::RaidGroupCount(uint32 raidid, uint32 groupid) {
int64 ZoneDatabase::GetBlockedSpellsCount(uint32 zone_id)
{
return BlockedSpellsRepository::Count(
database,
*this,
fmt::format(
"zoneid = {} {}",
zone_id,
Expand All @@ -2864,7 +2864,7 @@ bool ZoneDatabase::LoadBlockedSpells(int64 blocked_spells_count, ZoneSpellsBlock
LogInfo("Loading Blocked Spells from database for {} ({}).", zone_store.GetZoneName(zone_id, true), zone_id);

const auto& l = BlockedSpellsRepository::GetWhere(
database,
*this,
fmt::format(
"zoneid = {} {} ORDER BY id ASC",
zone_id,
Expand Down

2 comments on commit 4af191c

@MidnightMusicClub
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was there a problem with this being merged in to the latest release? My blocked spells are broken and I am on the latest binaries.

@joligario
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was there a problem with this being merged in to the latest release? My blocked spells are broken and I am on the latest binaries.

Completely different issue. This change only affects split databases. See #3753 for the issue you are seeing.

Please sign in to comment.