1
0
Fork 0
mirror of https://github.com/ninjamuffin99/Funkin.git synced 2025-01-27 07:17:20 +00:00

Polymod fix

This commit is contained in:
Eric Myllyoja 2022-11-23 20:52:03 -05:00
parent a0315fbb83
commit 7ddfe82dab
2 changed files with 6 additions and 2 deletions

View file

@ -107,7 +107,7 @@
"name": "polymod",
"type": "git",
"dir": null,
"ref": "cfead69",
"ref": "develop",
"url": "https://github.com/larsiusprime/polymod"
},
{

View file

@ -183,7 +183,11 @@ class PolymodHandler
public static function getAllMods():Array<ModMetadata>
{
trace('Scanning the mods folder...');
var modMetadata = Polymod.scan();
var modMetadata = Polymod.scan({
modRoot: MOD_FOLDER,
apiVersionRule: API_VERSION,
errorCallback: PolymodErrorHandler.onPolymodError
});
trace('Found ${modMetadata.length} mods when scanning.');
return modMetadata;
}