@@ -86,7 +86,7 @@ def initData(self, progress):
8686 if srcMod not in bosh .modInfos : continue
8787 srcInfo = bosh .modInfos [srcMod ]
8888 srcFile = ModFile (srcInfo ,loadFactory )
89- masters = srcInfo .header . masters
89+ masters = srcInfo .get_masters ()
9090 srcFile .load (True )
9191 srcFile .convertToLongFids (longTypes )
9292 mapper = srcFile .getLongMapper ()
@@ -334,7 +334,7 @@ def checkMasterCellBlockData(cellBlock):
334334 srcFile .load (True )
335335 srcFile .convertToLongFids (('CELL' ,'WRLD' ))
336336 cachedMasters [srcMod ] = srcFile
337- masters = srcInfo .header . masters
337+ masters = srcInfo .get_masters ()
338338 bashTags = srcInfo .getBashTags ()
339339 # print bashTags
340340 tags = bashTags & set (self .recAttrs )
@@ -818,7 +818,7 @@ def initData(self,progress):
818818 if srcMod not in bosh .modInfos : continue
819819 srcInfo = bosh .modInfos [srcMod ]
820820 srcFile = ModFile (srcInfo ,loadFactory )
821- masters = srcInfo .header . masters
821+ masters = srcInfo .get_masters ()
822822 srcFile .load (True )
823823 srcFile .convertToLongFids (longTypes )
824824 mapper = srcFile .getLongMapper ()
@@ -1077,7 +1077,7 @@ def initData(self,progress):
10771077 if srcMod not in bosh .modInfos : continue
10781078 srcInfo = bosh .modInfos [srcMod ]
10791079 srcFile = ModFile (srcInfo ,loadFactory )
1080- masters = srcInfo .header . masters
1080+ masters = srcInfo .get_masters ()
10811081 bashTags = srcInfo .getBashTags ()
10821082 srcFile .load (True )
10831083 srcFile .convertToLongFids (longTypes )
@@ -1746,7 +1746,7 @@ def initPatchFile(self, patchFile):
17461746 self .isActive = bool (self .srcs )
17471747 self .masters = set ()
17481748 for srcMod in self .srcs :
1749- self .masters |= set (bosh .modInfos [srcMod ].header . masters )
1749+ self .masters |= set (bosh .modInfos [srcMod ].get_masters () )
17501750 self .allMods = self .masters | set (self .srcs )
17511751 self .mod_id_entries = {}
17521752 self .touched = set ()
@@ -1980,7 +1980,7 @@ def initData(self,progress):
19801980 if srcMod not in bosh .modInfos : continue
19811981 srcInfo = bosh .modInfos [srcMod ]
19821982 srcFile = ModFile (srcInfo ,loadFactory )
1983- masters = srcInfo .header . masters
1983+ masters = srcInfo .get_masters ()
19841984 bashTags = srcInfo .getBashTags ()
19851985 srcFile .load (True )
19861986 srcFile .convertToLongFids (longTypes )
@@ -2370,7 +2370,7 @@ def initData(self,progress):
23702370 temp_faceData = {}
23712371 faceInfo = bosh .modInfos [faceMod ]
23722372 faceFile = ModFile (faceInfo ,loadFactory )
2373- masters = faceInfo .header . masters
2373+ masters = faceInfo .get_masters ()
23742374 bashTags = faceInfo .getBashTags ()
23752375 faceFile .load (True )
23762376 faceFile .convertToLongFids (('NPC_' ,))
@@ -3049,7 +3049,7 @@ def initData(self,progress):
30493049 if srcMod not in bosh .modInfos : continue
30503050 srcInfo = bosh .modInfos [srcMod ]
30513051 srcFile = ModFile (srcInfo ,loadFactory )
3052- masters = srcInfo .header . masters
3052+ masters = srcInfo .get_masters ()
30533053 srcFile .load (True )
30543054 srcFile .convertToLongFids (longTypes )
30553055 mapper = srcFile .getLongMapper ()
0 commit comments