Applied kotlin style conventions
This commit is contained in:
@@ -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
|
||||
}
|
||||
)
|
Reference in New Issue
Block a user