diff --git a/plugin/src/main/java/com/craftmend/openaudiomc/generic/modules/ModuleLoaderService.java b/plugin/src/main/java/com/craftmend/openaudiomc/generic/modules/ModuleLoaderService.java index d79b67a7f..bafcd97bf 100644 --- a/plugin/src/main/java/com/craftmend/openaudiomc/generic/modules/ModuleLoaderService.java +++ b/plugin/src/main/java/com/craftmend/openaudiomc/generic/modules/ModuleLoaderService.java @@ -10,13 +10,9 @@ import java.io.BufferedReader; import java.io.File; -import java.io.InputStream; import java.io.InputStreamReader; import java.net.URL; import java.net.URLClassLoader; -import java.nio.file.Files; -import java.nio.file.Paths; -import java.nio.file.StandardCopyOption; import java.util.ArrayList; import java.util.Enumeration; import java.util.List; @@ -33,13 +29,6 @@ public ModuleLoaderService() { File modulesDir = new File(MagicValue.STORAGE_DIRECTORY.get(File.class), "/modules"); modulesDir.mkdirs(); - // download default modules - if (!new File(modulesDir, "migrate.map-to-storm.jar").exists()) { - log("Downloading default migration module"); - InputStream in = new URL("https://github.com/Mindgamesnl/OpenAudioMc/raw/master/modules/migrate.map-to-storm.jar").openStream(); - Files.copy(in, Paths.get(new File(modulesDir, "migrate.map-to-storm.jar").getPath()), StandardCopyOption.REPLACE_EXISTING); - } - if (modulesDir.isDirectory()) { log("Loading modules from " + modulesDir.getAbsolutePath()); for (File file : modulesDir.listFiles()) {