File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -441,7 +441,9 @@ def get_removed_home_points(mod_info: List[ModInfoModel]) -> List[LocationData]:
441441 should_be_removed_because_no_npc_info = True
442442
443443 for home_point in vanilla_home_points :
444- if (home_point .code == location_id and (should_be_removed_because_no_npc_info
444+ #5003 is a special value in that it's added via the archipelago mod, we shouldn't remove it because it's not in
445+ #the mod list, as it's not a vanilla location
446+ if (home_point .code != 5003 and home_point .code == location_id and (should_be_removed_because_no_npc_info
445447 # If the item's entity type is definitely not a home point, then remove the vanilla location, because it's type was changed by the mod
446448 or entity_type != HOME_POINT_ENTITY_TYPE )):
447449 removed_locations .append (LocationData (home_point .ap_region , home_point .name , location_id ))
You can’t perform that action at this time.
0 commit comments