diff options
author | Bryson Steck <brysonsteck@protonmail.com> | 2023-05-21 00:00:51 -0600 |
---|---|---|
committer | Bryson Steck <brysonsteck@protonmail.com> | 2023-05-21 00:00:51 -0600 |
commit | 640586155868f877ad3212244f2146449eb0280b (patch) | |
tree | 965dccdb90b46cb6e53d021f14eaf208f7ed7f95 /src/main/kotlin/xyz/brysonsteck | |
parent | d38d79e9b7de14f837b02b850cbd86a5c03cfc1b (diff) | |
download | ServerCraft-640586155868f877ad3212244f2146449eb0280b.tar ServerCraft-640586155868f877ad3212244f2146449eb0280b.tar.gz ServerCraft-640586155868f877ad3212244f2146449eb0280b.tar.bz2 |
i cant type
Diffstat (limited to 'src/main/kotlin/xyz/brysonsteck')
-rw-r--r-- | src/main/kotlin/xyz/brysonsteck/ServerCraft/controllers/PrimaryController.kt | 4 |
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} } |