aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/PrimaryController.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/PrimaryController.kt b/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/PrimaryController.kt
index 75ebbbd..6d802bf 100644
--- a/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/PrimaryController.kt
+++ b/src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/PrimaryController.kt
@@ -499,7 +499,7 @@ class PrimaryController {
val ebr = BufferedReader(errors)
try {
var line = br.readLine()
- var errorLine = ebr.readline()
+ var errorLine = ebr.readLine()
var currentline = 0.0
while (line != null || errorLine != null) {
if (!building) {
@@ -512,7 +512,7 @@ class PrimaryController {
log(line)
}
line = br.readLine()
- errorLine = ebr.readline()
+ errorLine = ebr.readLine()
currentline++
if (currentline > 15) {
withContext(Dispatchers.JavaFx) {progressBar.progress = if (spigotBuilt) {currentline/1100.0} else {currentline/14122.0} }