Grasscutter/src/main/java/emu/grasscutter/task/TaskHandler.java
2023-04-09 14:35:45 -04:00

15 lines
306 B
Java

package emu.grasscutter.task;
import org.quartz.*;
@PersistJobDataAfterExecution
public abstract class TaskHandler implements Job {
public void restartExecute() throws JobExecutionException {
execute(null);
}
public abstract void onEnable();
public abstract void onDisable();
}