mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-12 18:12:43 +00:00
[Hotfix] Fix issue with blocked spells not loading properly
This commit is contained in:
parent
0a3972deb9
commit
4af191c593
@ -2850,7 +2850,7 @@ uint8 ZoneDatabase::RaidGroupCount(uint32 raidid, uint32 groupid) {
|
|||||||
int64 ZoneDatabase::GetBlockedSpellsCount(uint32 zone_id)
|
int64 ZoneDatabase::GetBlockedSpellsCount(uint32 zone_id)
|
||||||
{
|
{
|
||||||
return BlockedSpellsRepository::Count(
|
return BlockedSpellsRepository::Count(
|
||||||
database,
|
*this,
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"zoneid = {} {}",
|
"zoneid = {} {}",
|
||||||
zone_id,
|
zone_id,
|
||||||
@ -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);
|
LogInfo("Loading Blocked Spells from database for {} ({}).", zone_store.GetZoneName(zone_id, true), zone_id);
|
||||||
|
|
||||||
const auto& l = BlockedSpellsRepository::GetWhere(
|
const auto& l = BlockedSpellsRepository::GetWhere(
|
||||||
database,
|
*this,
|
||||||
fmt::format(
|
fmt::format(
|
||||||
"zoneid = {} {} ORDER BY id ASC",
|
"zoneid = {} {} ORDER BY id ASC",
|
||||||
zone_id,
|
zone_id,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user