Skip to content

Commit

Permalink
Merge pull request #521 from Krowe-moh/junoandweapons
Browse files Browse the repository at this point in the history
  • Loading branch information
NotOfficer authored Nov 23, 2024
2 parents 6bb325c + 0395562 commit 21e727e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion FModel/Creator/Bases/FN/BaseJuno.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public override void ParseForInfo()
{
foreach (var data in additionalData)
{
if (data.NonConstStruct?.TryGetValue(out FSoftObjectPath largePreview, "LargePreviewImage", "SmallPreviewImage") ?? false)
if (data.NonConstStruct?.TryGetValue(out FSoftObjectPath largePreview, "LargePreviewImage", "SmallPreviewImage") == true)
{
_character.Preview = Utils.GetBitmap(largePreview);
break;
Expand Down
8 changes: 4 additions & 4 deletions FModel/Creator/CreatorPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ public bool TryConstructCreator(out UCreator creator)
switch (_object.ExportType)
{
// Fortnite
case "FortCreativeWeaponMeleeItemDefinition":
case "AthenaConsumableEmoteItemDefinition":
case "AthenaSkyDiveContrailItemDefinition":
case "AthenaLoadingScreenItemDefinition":
Expand Down Expand Up @@ -101,7 +100,6 @@ public bool TryConstructCreator(out UCreator creator)
case "FortConsumableItemDefinition":
case "StWFortAccoladeItemDefinition":
case "FortAccountBuffItemDefinition":
case "FortWeaponMeleeItemDefinition":
case "FortPlayerPerksItemDefinition":
case "FortPlaysetPropItemDefinition":
case "FortPrerollDataItemDefinition":
Expand Down Expand Up @@ -135,9 +133,7 @@ public bool TryConstructCreator(out UCreator creator)
case "FortCampaignHeroLoadoutItemDefinition":
case "FortConditionalResourceItemDefinition":
case "FortChallengeBundleScheduleDefinition":
case "FortWeaponMeleeDualWieldItemDefinition":
case "FortDailyRewardScheduleTokenDefinition":
case "FortCreativeWeaponRangedItemDefinition":
case "FortVehicleCosmeticsItemDefinition_Body":
case "FortVehicleCosmeticsItemDefinition_Skin":
case "FortVehicleCosmeticsItemDefinition_Wheel":
Expand All @@ -164,7 +160,11 @@ public bool TryConstructCreator(out UCreator creator)
case "FortSpyTechItemDefinition":
case "FortAccoladeItemDefinition":
case "FortContextTrapItemDefinition":
case "FortWeaponMeleeItemDefinition":
case "FortWeaponRangedItemDefinition":
case "FortCreativeWeaponMeleeItemDefinition":
case "FortWeaponMeleeDualWieldItemDefinition":
case "FortCreativeWeaponRangedItemDefinition":
case "Daybreak_LevelExitVehicle_PartItemDefinition_C":
creator = new BaseIconStats(_object, _style);
return true;
Expand Down

0 comments on commit 21e727e

Please sign in to comment.