mirror of
https://github.com/Brettflan/WorldBorder.git
synced 2024-11-23 02:25:30 +01:00
Checks to see if the task ID is referencing a "unable to schedule" event before setting it
This commit is contained in:
parent
63d7bb5eb7
commit
72a3b419e8
@ -98,6 +98,7 @@ 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