aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/utils/commands/CommandHelper.java
blob: 3e7b7eacea4764e50e255b384519d8aaa65b1c48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package cc.polyfrost.oneconfig.utils.commands;

/**
 * A helper class for commands.
 * Extend this class and run {@link CommandHelper#preload()} (which does nothing,
 * just makes loading look nicer lol)
 *
 * @see cc.polyfrost.oneconfig.utils.commands.annotations.Command
 */
public abstract class CommandHelper {

    public CommandHelper() {
        CommandManager.INSTANCE.registerCommand(this);
    }

    public void preload() {

    }
}