Applied kotlin style conventions

This commit is contained in:
bluefireoly
2020-10-18 18:36:49 +02:00
parent e1d4e8bbfc
commit da848728d2
39 changed files with 509 additions and 385 deletions

View File

@@ -3,10 +3,9 @@ package net.axay.kspigot.config
import net.axay.kspigot.main.KSpigotMainInstance
import java.io.File
class PluginFile(path: String, child: String? = null)
: File(
"${KSpigotMainInstance.dataFolder}",
run {
if (child == null) path else File(path, child).path
}
)
class PluginFile(path: String, child: String? = null) : File(
"${KSpigotMainInstance.dataFolder}",
run {
if (child == null) path else File(path, child).path
}
)