refactor class

This commit is contained in:
unurled 2024-03-14 12:15:41 +01:00
parent 84f7cd9786
commit 3a2d6f3ed8
Signed by: unurled
GPG key ID: FDBC9CBE1F82423F

View file

@ -1,5 +1,8 @@
package me.unurled.sacredrealms.sr.commands;
import static me.unurled.sacredrealms.sr.utils.Logger.error;
import java.lang.reflect.InvocationTargetException;
import me.unurled.sacredrealms.sr.SR;
import me.unurled.sacredrealms.sr.commands.admin.AttributeCommand;
import me.unurled.sacredrealms.sr.commands.player.ResetAdventureCommand;
@ -24,4 +27,14 @@ public class CommandManager extends Manager {
}
}
}
/** Load the manager */
@Override
public void load() {
super.load();
registerCommand("attributes", AttributeCommand.class);
registerCommand("resetadventure", ResetAdventureCommand.class);
}
}