mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2025-03-25 11:29:28 +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",
|
"name": "polymod",
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"dir": null,
|
"dir": null,
|
||||||
"ref": "cfead69",
|
"ref": "develop",
|
||||||
"url": "https://github.com/larsiusprime/polymod"
|
"url": "https://github.com/larsiusprime/polymod"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -183,7 +183,11 @@ class PolymodHandler
|
||||||
public static function getAllMods():Array<ModMetadata>
|
public static function getAllMods():Array<ModMetadata>
|
||||||
{
|
{
|
||||||
trace('Scanning the mods folder...');
|
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.');
|
trace('Found ${modMetadata.length} mods when scanning.');
|
||||||
return modMetadata;
|
return modMetadata;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue