I need to have my class initialized in the run method. How do I do so?
package me.javoris767.votesql.listeners;
import me.javoris767.votesql.VoteSQL;
public class VoteListener implements Runnable, Listener {
private static VoteSQL plugin;
@Override
public void run() {
}
}
VoteSQL
wihtinVoteListener
class then you could do so instatic initializer
. – Vishal K 5 mins ago