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:
Brett Flannigan 2011-09-06 14:36:34 -07:00
commit 462c70d335
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) public void setTaskID(int ID)
{ {
if (ID == -1) this.stop();
this.taskID = ID; this.taskID = ID;
} }