mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-13 10:34:09 +01:00
Register commands
This commit is contained in:
parent
cafaa31228
commit
3487d7d4c4
@ -66,6 +66,7 @@ import org.bukkit.plugin.RegisteredServiceProvider;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import com.intellectualcrafters.plot.commands.Buy;
|
||||
import com.intellectualcrafters.plot.commands.Cluster;
|
||||
import com.intellectualcrafters.plot.commands.MainCommand;
|
||||
import com.intellectualcrafters.plot.commands.WE_Anywhere;
|
||||
import com.intellectualcrafters.plot.config.C;
|
||||
@ -1243,6 +1244,9 @@ public class PlotMain extends JavaPlugin implements Listener {
|
||||
if (C.ENABLED.s().length() > 0) {
|
||||
sendConsoleSenderMessage(C.ENABLED);
|
||||
}
|
||||
if (Settings.ENABLE_CLUSTERS) {
|
||||
MainCommand.subCommands.add(new Cluster());
|
||||
}
|
||||
|
||||
// Add tables to this one, if we create more :D
|
||||
final String[] tables = new String[]{"plot_trusted", "plot_ratings", "plot_comments"};
|
||||
|
Loading…
Reference in New Issue
Block a user