Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Apr 19, 2024
1 parent c2d05a9 commit 1209ffd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ export class BannerlordModuleManager {
BannerlordModuleManager.initialize();
return BannerlordModuleManager.addon.getModuleInfoWithPath(xml, path);
}
public static getModuleInfoWithMetadata(xml: string, path: string): types.ModuleInfoExtendedWithMetadata | undefined {
public static getModuleInfoWithMetadata(xml: string, type: types.ModuleProviderType, path: string): types.ModuleInfoExtendedWithMetadata | undefined {
BannerlordModuleManager.initialize();
return BannerlordModuleManager.addon.getModuleInfoWithMetadata(xml, path);
return BannerlordModuleManager.addon.getModuleInfoWithMetadata(xml, type, path);
}

public static getSubModuleInfo(xml: string): types.SubModuleInfoExtended | undefined {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export interface IBannerlordModuleManager {

getModuleInfo(xml: string): ModuleInfoExtended | undefined;
getModuleInfoWithPath(xml: string, path: string): ModuleInfoExtendedWithPath | undefined;
getModuleInfoWithMetadata(xml: string, path: string): ModuleInfoExtendedWithMetadata | undefined;
getModuleInfoWithMetadata(xml: string, type: ModuleProviderType, path: string): ModuleInfoExtendedWithMetadata | undefined;
getSubModuleInfo(xml: string): SubModuleInfoExtended | undefined;

parseApplicationVersion(content: string): ApplicationVersion;
Expand Down

0 comments on commit 1209ffd

Please sign in to comment.