i cant type
This commit is contained in:
parent
d38d79e9b7
commit
6405861558
1 changed files with 2 additions and 2 deletions
|
@ -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} }
|
||||
|
|
Loading…
Add table
Reference in a new issue