mirror of
https://github.com/4sval/FModel.git
synced 2026-09-13 20:16:38 -05:00
Fix weekly challenge generation (missing EXP)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user