diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/server/scripts/Spells/spell_item.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_item.cpp b/src/server/scripts/Spells/spell_item.cpp index d6938cdc3b1..b0853c71b2c 100644 --- a/src/server/scripts/Spells/spell_item.cpp +++ b/src/server/scripts/Spells/spell_item.cpp @@ -218,7 +218,7 @@ class spell_item_decahedral_dwarven_dice : public SpellScriptLoader bool Validate(SpellInfo const* /*spellInfo*/) override { - if (!sObjectMgr->GetBroadcastText(TEXT_DECAHEDRAL_DWARVEN_DICE)) + if (!sBroadcastTextStore.LookupEntry(TEXT_DECAHEDRAL_DWARVEN_DICE)) return false; return true; } @@ -1391,7 +1391,7 @@ class spell_item_worn_troll_dice : public SpellScriptLoader bool Validate(SpellInfo const* /*spellInfo*/) override { - if (!sObjectMgr->GetBroadcastText(TEXT_WORN_TROLL_DICE)) + if (!sBroadcastTextStore.LookupEntry(TEXT_WORN_TROLL_DICE)) return false; return true; } |