I have the following code:
public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
// Do stuff
}
I want to be able to do this:
public boolean onCommand(CommandSender sender, Command cmd, String commandLabel, String[] args) {
someMethod(sameParameters);
}
How do I do this? Can you provide an example?
Not what you wanted but this is how: