mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-26 11:27:17 +00:00
Fix BodyType bug in GlobalLoot
This commit is contained in:
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user