Checks to see if the task ID is referencing a "unable to schedule" event before setting it

This commit is contained in:
LRFLEW 2011-09-04 13:31:22 -05:00
parent 63d7bb5eb7
commit 72a3b419e8
1 changed files with 2 additions and 1 deletions

View File

@ -97,7 +97,8 @@ public class WorldFillTask implements Runnable
}
public void setTaskID(int ID)
{
{
if (ID == -1) this.stop();
this.taskID = ID;
}