mirror of
https://github.com/plexusorg/Plex.git
synced 2024-11-17 09:06:12 +00:00
25 lines
589 B
Java
25 lines
589 B
Java
|
package me.totalfreedom.plex.handlers;
|
||
|
|
||
|
import com.google.common.collect.Lists;
|
||
|
import me.totalfreedom.plex.command.PlexCommand;
|
||
|
import me.totalfreedom.plex.command.impl.PlexCMD;
|
||
|
import me.totalfreedom.plex.command.impl.TestCMD;
|
||
|
import me.totalfreedom.plex.util.PlexLog;
|
||
|
|
||
|
import java.util.List;
|
||
|
|
||
|
public class CommandHandler
|
||
|
{
|
||
|
|
||
|
private List<PlexCommand> commands = Lists.newArrayList();
|
||
|
|
||
|
public CommandHandler()
|
||
|
{
|
||
|
commands.add(new TestCMD());
|
||
|
commands.add(new PlexCMD());
|
||
|
|
||
|
PlexLog.log(String.format("Registered %s commands!", commands.size()));
|
||
|
}
|
||
|
|
||
|
}
|