Small docs cleanup

This commit is contained in:
LeoDog896 2021-03-24 11:58:51 -04:00
parent faa53b3d48
commit 0fe222ea85

View File

@ -85,9 +85,10 @@ public class ExtensionManager {
* Turns its extension.json into a DiscoveredExtension object. * Turns its extension.json into a DiscoveredExtension object.
* Verifies that all properties of extension.json are correctly set. * Verifies that all properties of extension.json are correctly set.
* *
* It then sorts all those jars depending on its load order (extensions can have dependencies) * It then sorts all those jars by their load order (making sure that an extension's dependencies load before it)
* Note: Cyclic dependencies will stop both extensions from being loaded.
* *
* Afterwards, it loads all external dependencies (sort of an outsourced dynamic shadowJar) * Afterwards, it loads all external dependencies and adds them to the extension's files
* *
* Then removes any invalid extensions (Invalid being its Load Status isn't SUCCESS) * Then removes any invalid extensions (Invalid being its Load Status isn't SUCCESS)
* *
@ -100,7 +101,7 @@ public class ExtensionManager {
* *
* If the extension successfully loads, add it to the global extension Map (Name to Extension) * If the extension successfully loads, add it to the global extension Map (Name to Extension)
* *
* Then makes a scheduler to clean observers per extension. * And finally make a scheduler to clean observers per extension.
* *
*/ */
public void loadExtensions() { public void loadExtensions() {