diff --git a/lib/src/main/kotlin/foundation/esoteric/minecraft/plugins/library/pack/resource/ResourcePackManager.kt b/lib/src/main/kotlin/foundation/esoteric/minecraft/plugins/library/pack/resource/ResourcePackManager.kt index 0a05fdb..f0b277d 100644 --- a/lib/src/main/kotlin/foundation/esoteric/minecraft/plugins/library/pack/resource/ResourcePackManager.kt +++ b/lib/src/main/kotlin/foundation/esoteric/minecraft/plugins/library/pack/resource/ResourcePackManager.kt @@ -22,7 +22,6 @@ class ResourcePackManager(private val plugin: FileManagedPlugin) { init { val resourcePackFolder: File = plugin.fileManager.saveResourceFolder(resourcePackResourceFolderName, true) - resourcePackFolder.listFiles()?.forEach { file -> println(file.name) } val resourceZipFilePath = plugin.dataPath.toString() + File.separator + resourcePackResourceFolderName + ".zip" @@ -30,8 +29,6 @@ class ResourcePackManager(private val plugin: FileManagedPlugin) { resourcePackZipFile = File(resourceZipFilePath) FileUtility.zipFolder(resourcePackFolder, resourcePackZipFile!!) - FileUtils.copyFile(resourcePackZipFile, File("./TestPluginResourcePack.zip")) - FileUtils.deleteDirectory(resourcePackFolder) } catch (exception: Exception) { exception.printStackTrace()