mirror of
https://github.com/NekoMonci12/Git-Craft.git
synced 2025-12-22 08:19:21 +00:00
All Git Basic Function
This commit is contained in:
16
app/src/main/java/org/yuemi/commands/CommandRegistrar.java
Normal file
16
app/src/main/java/org/yuemi/commands/CommandRegistrar.java
Normal file
@@ -0,0 +1,16 @@
|
||||
package org.yuemi.commands;
|
||||
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
public class CommandRegistrar {
|
||||
|
||||
private final JavaPlugin plugin;
|
||||
|
||||
public CommandRegistrar(JavaPlugin plugin) {
|
||||
this.plugin = plugin;
|
||||
}
|
||||
|
||||
public void registerAll() {
|
||||
plugin.getCommand("git").setExecutor(new GitRootCommand(plugin));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user