Final touches

This commit is contained in:
MollTheCoder 2023-01-14 18:30:06 -05:00 committed by GitHub
parent c296e38732
commit 6059ae66fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,6 @@
/* Helps make managing many dependencies easier */
// Version 1.0.0
/*
* Requires that certain mods are installed for the callback to proceed.
* @param {array} mods - The mods your mod depends on.
@ -5,6 +8,7 @@
*/
function requireMods(mods, cal) {
if (__checkMods(mods)) {
// The whole callback system remains from a feature that was nerfed soon before release. It will either be removed or taken advantage of in future versions.
cal();
}
else {