AliPresents/src/buttondevteam/alipresents/components/alilinks/AliLinkComponent.java
2016-12-18 22:18:11 -05:00

24 lines
722 B
Java

package buttondevteam.alipresents.components.alilinks;
import org.bukkit.plugin.java.JavaPlugin;
import buttondevteam.alipresents.architecture.Component;
import buttondevteam.alipresents.components.alilinks.commands.ListLinks;
import buttondevteam.alipresents.components.alilinks.commands.Press;
import buttondevteam.alipresents.components.alilinks.commands.Set;
public class AliLinkComponent extends Component {
private static JavaPlugin p;
public static JavaPlugin getPlugin() {
return p;
}
@Override
public void register(JavaPlugin plugin) {
p = plugin;
registerCommand(plugin, new Press());
registerCommand(plugin, new Set());
registerCommand(plugin, new ListLinks());
}
}