Skip to content

Commit

Permalink
Core/Items: Fixed build
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent-Michael committed Apr 23, 2016
1 parent 53f44fb commit 4fbe380
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/scripts/Spells/spell_item.cpp
Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 4fbe380

Please sign in to comment.