Fix BodyType bug in GlobalLoot

This commit is contained in:
Michael Cook (mackal) 2020-02-06 01:08:53 -05:00
parent 2db47adf7b
commit 8bcef6c2e7

View File

@ -518,7 +518,7 @@ void ZoneDatabase::LoadGlobalLoot()
auto bodytypes = SplitString(row[9], '|');
for (auto &b : bodytypes)
e.AddRule(GlobalLoot::RuleTypes::Class, std::stoi(b));
e.AddRule(GlobalLoot::RuleTypes::BodyType, std::stoi(b));
}
zone->AddGlobalLootEntry(e);