Fixed RedisMessageCallback not being registered

This commit is contained in:
libraryaddict 2015-02-15 22:01:10 +13:00
parent fd0547d9d3
commit 3ef3689e6d

View File

@ -60,10 +60,13 @@ public class MessageManager extends MiniClientPlugin<ClientMessage>
_punish = punish;
_friendsManager = friendManager;
_serverName = GetPlugin().getConfig().getString("serverstatus.name");
MessageHandler messageHandler = new MessageHandler(this);
ServerCommandManager.getInstance().registerCommandType("AnnouncementCommand", AnnouncementCommand.class, new AnnouncementHandler());
ServerCommandManager.getInstance().registerCommandType("RedisMessage", RedisMessage.class, new MessageHandler(this));
ServerCommandManager.getInstance().registerCommandType("RedisMessage", RedisMessage.class, messageHandler);
ServerCommandManager.getInstance().registerCommandType("RedisMessageCallback", RedisMessageCallback.class, messageHandler);
}
public void AddCommands()