Merge pull request #1 from LRFLEW/patch-1
Checks to see if the task ID is referencing a "unable to schedule" event
This commit is contained in:
commit
462c70d335
|
@ -97,7 +97,8 @@ public class WorldFillTask implements Runnable
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setTaskID(int ID)
|
public void setTaskID(int ID)
|
||||||
{
|
{
|
||||||
|
if (ID == -1) this.stop();
|
||||||
this.taskID = ID;
|
this.taskID = ID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue