aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/djtheredstoner/perspectivemod/commands/PerspectiveModCommand.java
blob: 00b0d27e031fd6108aabd2c4725ad35bce8665cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package me.djtheredstoner.perspectivemod.commands;

import gg.essential.api.EssentialAPI;
import gg.essential.api.commands.Command;
import gg.essential.api.commands.DefaultHandler;
import me.djtheredstoner.perspectivemod.PerspectiveMod;

public class PerspectiveModCommand extends Command {

    public PerspectiveModCommand(String name) {
        super(name);
    }

    @DefaultHandler
    public void handle() {
        EssentialAPI.getGuiUtil().openScreen(PerspectiveMod.instance.config.gui());
    }

}