We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bc54f5 commit 7388ee1Copy full SHA for 7388ee1
components/controller.ts
@@ -682,6 +682,29 @@ export class Controller {
682
(brick) =>
683
!brick.includes("override_constantjeff.brick"),
684
)
685
+
686
+ break
687
+ }
688
+ case "h3": {
689
+ if (!contract.Metadata.Entitlements) break
690
691
+ const locations =
692
+ this.configManager.getConfig<PeacockLocationsData>(
693
+ "LocationsData",
694
+ false,
695
+ )
696
697
+ // Entitlements changed in 3.230.1, thanks IOI
698
+ contract.Metadata.Entitlements =
699
+ contract.Metadata.Entitlements.map((ent) => {
700
+ const ents =
701
+ locations.children[contract.Metadata.Location]
702
+ ?.Properties.Entitlements
703
704
+ return ent.endsWith("LEGACY_STANDARD") && ents?.length
705
+ ? ents[0]
706
+ : ent
707
+ })
708
}
709
710
0 commit comments