mirror of
https://github.com/4sval/FModel.git
synced 2026-04-22 17:47:51 -05:00
Fix weekly challenge generation (missing EXP)
This commit is contained in:
parent
bbf7b6d9c5
commit
aff147e0b2
|
|
@ -35,7 +35,7 @@ namespace FModel.Creator.Bundles
|
|||
Count = count.Value;
|
||||
}
|
||||
|
||||
if (obj.TryGetValue("RewardsTable", out var v4) && v4 is ObjectProperty rewardsTable)
|
||||
if (obj.TryGetValue("RewardsTable", out var v4) && v4 is ObjectProperty rewardsTable && rewardsTable.Value.Resource.OuterIndex.Resource != null)
|
||||
{
|
||||
Package p = Utils.GetPropertyPakPackage(rewardsTable.Value.Resource.OuterIndex.Resource?.ObjectName.String);
|
||||
if (p != null && p.HasExport() && !p.Equals(default))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user