mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[c12593] Fix a mistake from [12432]
This commit is contained in:
parent
66581d99ff
commit
c93ade7c59
3 changed files with 15 additions and 4 deletions
|
|
@ -337,12 +337,12 @@ bool LootStoreItem::IsValid(LootStore const& store, uint32 entry) const
|
|||
{
|
||||
if (needs_quest)
|
||||
{
|
||||
sLog.outErrorDb("Table '%s' entry %d item %d: negative chance is specified for a reference, skipped", store.GetName(), entry, itemid);
|
||||
sLog.outErrorDb("Table '%s' entry %d item %d: negative chance is given for a reference, skipped", store.GetName(), entry, itemid);
|
||||
return false;
|
||||
}
|
||||
else if (chance == 0) // no chance for the reference
|
||||
{
|
||||
sLog.outErrorDb("Table '%s' entry %d item %d: zero chance is specified for a reference, skipped", store.GetName(), entry, itemid);
|
||||
sLog.outErrorDb("Table '%s' entry %d item %d: zero chance is given for a reference, reference will never be used, skipped", store.GetName(), entry, itemid);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue