Hancho1577
Member
Java:
this.getServer().getScheduler().scheduleRepeatingTask(this, new AsyncTask() { // this line has the error
@Override
public void onRun() {
// code...
}
}, 20 * 5);
It occurs "Caused by: java.lang.IllegalAccessError: tried to access class hcDiscordBot.HcDiscordBot$2 from class hcDiscordBot.HcDiscordBot"
I don't know why this error occurs....