mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-01-27 07:17:20 +00:00
Polymod fix
This commit is contained in:
parent
a0315fbb83
commit
7ddfe82dab
2
hmm.json
2
hmm.json
|
@ -107,7 +107,7 @@
|
|||
"name": "polymod",
|
||||
"type": "git",
|
||||
"dir": null,
|
||||
"ref": "cfead69",
|
||||
"ref": "develop",
|
||||
"url": "https://github.com/larsiusprime/polymod"
|
||||
},
|
||||
{
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue