mirror of
https://github.com/Brettflan/WorldBorder.git
synced 2025-01-08 17:08:09 +01:00
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)
|
||||
{
|
||||
{
|
||||
if (ID == -1) this.stop();
|
||||
this.taskID = ID;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user