From 5066430fe7724fa96e48b30ab2656b34c8f04913 Mon Sep 17 00:00:00 2001 From: Francisco Solis Date: Thu, 30 Dec 2021 22:41:07 -0300 Subject: [PATCH] Initialized Module Downloader On Enable --- .../xyz/theprogramsrc/dependencydownloadermodule/Main.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/xyz/theprogramsrc/dependencydownloadermodule/Main.kt b/src/main/kotlin/xyz/theprogramsrc/dependencydownloadermodule/Main.kt index 8b897c9..0780b87 100644 --- a/src/main/kotlin/xyz/theprogramsrc/dependencydownloadermodule/Main.kt +++ b/src/main/kotlin/xyz/theprogramsrc/dependencydownloadermodule/Main.kt @@ -2,4 +2,9 @@ package xyz.theprogramsrc.dependencydownloadermodule import xyz.theprogramsrc.simplecoreapi.global.module.Module -class Main: Module() \ No newline at end of file +class Main: Module() { + + override fun onEnable() { + DependencyDownloader() + } +} \ No newline at end of file