aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt
diff options
context:
space:
mode:
authorBryson Steck <brysonsteck@protonmail.com>2023-05-09 16:31:47 -0600
committerBryson Steck <brysonsteck@protonmail.com>2023-05-09 16:31:47 -0600
commit7db4d246d920586edcc485d514d9651dcc370d67 (patch)
tree96707a77637d400f1e223122ed4c1afa137732a4 /app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt
parent47de8220d52dde525d107ee076d090a48ee02c2e (diff)
downloadServerCraft-7db4d246d920586edcc485d514d9651dcc370d67.tar
ServerCraft-7db4d246d920586edcc485d514d9651dcc370d67.tar.gz
ServerCraft-7db4d246d920586edcc485d514d9651dcc370d67.tar.bz2
logic seems fine?
Diffstat (limited to 'app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt')
-rw-r--r--app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt b/app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt
index 0547a8f..cffa525 100644
--- a/app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt
+++ b/app/src/main/kotlin/xyz/brysonsteck/serverfordummies/App.kt
@@ -18,7 +18,7 @@ class App : Application() {
stage.show()
}
- private fun loadFXML(fxml: String) : Parent {
+ public fun loadFXML(fxml: String) : Parent {
val fxmlLoader = FXMLLoader(this.javaClass.getResource(fxml + ".fxml"))
return fxmlLoader.load()
}