Core/Reputation: Implemented paragon reputation
Port From (https://github.com/TrinityCore/TrinityCore/commit/b01fba4bd9530213ee0c9547e09d1f16b3ce5d67)
This commit is contained in:
@@ -1152,8 +1152,7 @@ namespace Game
|
||||
}
|
||||
case ConditionTypes.ReputationRank:
|
||||
{
|
||||
FactionRecord factionEntry = CliDB.FactionStorage.LookupByKey(cond.ConditionValue1);
|
||||
if (factionEntry == null)
|
||||
if (!CliDB.FactionStorage.ContainsKey(cond.ConditionValue1))
|
||||
{
|
||||
Log.outError(LogFilter.Sql, "{0} has non existing faction ({1}), skipped.", cond.ToString(true), cond.ConditionValue1);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user