Fixed RedisMessageCallback not being registered
This commit is contained in:
parent
fd0547d9d3
commit
3ef3689e6d
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user