|
|
@@ -233,7 +233,7 @@ public class ExecuteTheRecipe { |
|
|
|
String name = "料仓" + silos.num + "下料完成"; |
|
|
|
final boolean[] IsComplete = {false}; |
|
|
|
long a = System.currentTimeMillis(); |
|
|
|
while (!IsComplete[0]) { |
|
|
|
while (!IsComplete[0] && !IsForcedEnd) { |
|
|
|
if ((System.currentTimeMillis() - a) > 1000 * whileTime) { |
|
|
|
break; |
|
|
|
} else { |
|
|
@@ -366,7 +366,7 @@ public class ExecuteTheRecipe { |
|
|
|
} |
|
|
|
}); |
|
|
|
long a = System.currentTimeMillis(); |
|
|
|
while (!IsComplete[0]) { |
|
|
|
while (!IsComplete[0]&& !IsForcedEnd) { |
|
|
|
if ((System.currentTimeMillis() - a) > 1000 * whileTime) { |
|
|
|
break; |
|
|
|
} |
|
|
|