mirror of
https://github.com/Brettflan/WorldBorder.git
synced 2024-11-22 18:16:24 +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
@ -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