Correct USERID not updated before setting up files.
This commit is contained in:
parent
e9e3a0bf0d
commit
e9b45b34b7
BIN
DivaBotGuardian/DivaBotGuardian.jar
Normal file
BIN
DivaBotGuardian/DivaBotGuardian.jar
Normal file
Binary file not shown.
@ -16,11 +16,11 @@ public class Guardian {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) throws InterruptedException, IOException {
|
public static void main(String[] args) throws InterruptedException, IOException {
|
||||||
|
USERID = Integer.parseInt(args[0]);
|
||||||
File f = new File("streams","output"+USERID+".png");
|
File f = new File("streams","output"+USERID+".png");
|
||||||
File tempf = new File("streams","tempoutput"+USERID+".png");
|
File tempf = new File("streams","tempoutput"+USERID+".png");
|
||||||
switch (currentStage) {
|
switch (currentStage) {
|
||||||
case STARTING:{
|
case STARTING:{
|
||||||
USERID = Integer.parseInt(args[0]);
|
|
||||||
while (currentStage==STAGE.STARTING) {
|
while (currentStage==STAGE.STARTING) {
|
||||||
if (f.exists()) {
|
if (f.exists()) {
|
||||||
streamLastModified = f.lastModified();
|
streamLastModified = f.lastModified();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user