Update PluginFile.kt
This commit is contained in:
@@ -5,7 +5,5 @@ import java.io.File
|
|||||||
|
|
||||||
class PluginFile(path: String, child: String? = null) : File(
|
class PluginFile(path: String, child: String? = null) : File(
|
||||||
"${KSpigotMainInstance.dataFolder}",
|
"${KSpigotMainInstance.dataFolder}",
|
||||||
run {
|
if (child == null) path else File(path, child).path
|
||||||
if (child == null) path else File(path, child).path
|
|
||||||
}
|
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user