mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-11 11:12:25 +00:00
Fix BodyType bug in GlobalLoot
This commit is contained in:
parent
2db47adf7b
commit
8bcef6c2e7
@ -518,7 +518,7 @@ void ZoneDatabase::LoadGlobalLoot()
|
|||||||
auto bodytypes = SplitString(row[9], '|');
|
auto bodytypes = SplitString(row[9], '|');
|
||||||
|
|
||||||
for (auto &b : bodytypes)
|
for (auto &b : bodytypes)
|
||||||
e.AddRule(GlobalLoot::RuleTypes::Class, std::stoi(b));
|
e.AddRule(GlobalLoot::RuleTypes::BodyType, std::stoi(b));
|
||||||
}
|
}
|
||||||
|
|
||||||
zone->AddGlobalLootEntry(e);
|
zone->AddGlobalLootEntry(e);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user