mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
Merge branch 'DarkflameUniverse:main' into main
This commit is contained in:
commit
57e28d4619
@ -137,6 +137,10 @@ std::unordered_map<LOT, int32_t> LootGenerator::RollLootMatrix(Entity* player, u
|
||||
|
||||
std::unordered_map<LOT, int32_t> drops;
|
||||
|
||||
if (missionComponent == nullptr) {
|
||||
return drops;
|
||||
}
|
||||
|
||||
const LootMatrix& matrix = m_LootMatrices[matrixIndex];
|
||||
|
||||
for (const LootMatrixEntry& entry : matrix) {
|
||||
|
Loading…
Reference in New Issue
Block a user