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)
|
val ebr = BufferedReader(errors)
|
||||||
try {
|
try {
|
||||||
var line = br.readLine()
|
var line = br.readLine()
|
||||||
var errorLine = ebr.readline()
|
var errorLine = ebr.readLine()
|
||||||
var currentline = 0.0
|
var currentline = 0.0
|
||||||
while (line != null || errorLine != null) {
|
while (line != null || errorLine != null) {
|
||||||
if (!building) {
|
if (!building) {
|
||||||
|
@ -512,7 +512,7 @@ class PrimaryController {
|
||||||
log(line)
|
log(line)
|
||||||
}
|
}
|
||||||
line = br.readLine()
|
line = br.readLine()
|
||||||
errorLine = ebr.readline()
|
errorLine = ebr.readLine()
|
||||||
currentline++
|
currentline++
|
||||||
if (currentline > 15) {
|
if (currentline > 15) {
|
||||||
withContext(Dispatchers.JavaFx) {progressBar.progress = if (spigotBuilt) {currentline/1100.0} else {currentline/14122.0} }
|
withContext(Dispatchers.JavaFx) {progressBar.progress = if (spigotBuilt) {currentline/1100.0} else {currentline/14122.0} }
|
||||||
|
|
Loading…
Add table
Reference in a new issue