Skip to content

Commit

Permalink
fix: experience rates being applied to creatures with QuestOnly active (
Browse files Browse the repository at this point in the history
  • Loading branch information
Nyeriah authored Jul 21, 2023
1 parent 22a9674 commit cb34c49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mod-double-xp-weekend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class DoubleXpWeekend : public PlayerScript
return;
}

if (sConfigMgr->GetOption<bool>("XPWeekend.QuestOnly", false) && victim && victim->GetTypeId() == TYPEID_UNIT && !victim->ToCreature()->hasLootRecipient())
if (sConfigMgr->GetOption<bool>("XPWeekend.QuestOnly", false) && victim && victim->GetTypeId() == TYPEID_UNIT)
{
return;
}
Expand Down

0 comments on commit cb34c49

Please sign in to comment.