add reset command + exists method for data source
This commit is contained in:
parent
9f33889604
commit
7cc9395cbc
6 changed files with 172 additions and 2 deletions
|
@ -2,6 +2,7 @@ package me.unurled.sacredrealms.sr.commands;
|
|||
|
||||
import me.unurled.sacredrealms.sr.SR;
|
||||
import me.unurled.sacredrealms.sr.commands.admin.AttributeCommand;
|
||||
import me.unurled.sacredrealms.sr.commands.player.ResetAdventureCommand;
|
||||
import me.unurled.sacredrealms.sr.managers.Manager;
|
||||
|
||||
public class CommandManager extends Manager {
|
||||
|
@ -11,5 +12,9 @@ public class CommandManager extends Manager {
|
|||
public void load() {
|
||||
super.load();
|
||||
SR.getInstance().getCommand("attributes").setExecutor(new AttributeCommand());
|
||||
SR.getInstance().getCommand("attributes").setTabCompleter(new AttributeCommand());
|
||||
|
||||
SR.getInstance().getCommand("resetadventure").setExecutor(new ResetAdventureCommand());
|
||||
SR.getInstance().getCommand("resetadventure").setTabCompleter(new ResetAdventureCommand());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue