diff --git a/build-number.txt b/build-number.txt index f538595c..c0de1c53 100644 --- a/build-number.txt +++ b/build-number.txt @@ -1 +1 @@ -2758 \ No newline at end of file +2760 \ No newline at end of file diff --git a/src/main/java/me/chayapak1/chomens_bot/Bot.java b/src/main/java/me/chayapak1/chomens_bot/Bot.java index cae1727a..fb151ec2 100644 --- a/src/main/java/me/chayapak1/chomens_bot/Bot.java +++ b/src/main/java/me/chayapak1/chomens_bot/Bot.java @@ -134,6 +134,8 @@ public class Bot extends SessionAdapter { this.chat = new ChatPlugin(this); this.commandSpy = new CommandSpyPlugin(this); this.query = new QueryPlugin(this); + this.chomeNSMod = new ChomeNSModIntegrationPlugin(this); + this.commandSuggestion = new CommandSuggestionPlugin(this); this.logger = new LoggerPlugin(this); this.position = new PositionPlugin(this); this.serverFeatures = new ServerFeaturesPlugin(this); @@ -158,12 +160,10 @@ public class Bot extends SessionAdapter { this.exploits = new ExploitsPlugin(this); this.filterManager = new FilterManagerPlugin(this); this.playerFilter = new PlayerFilterPlugin(this); - this.commandSuggestion = new CommandSuggestionPlugin(this); this.mail = new MailPlugin(this); this.packetSniffer = new PacketSnifferPlugin(this); this.voiceChat = new VoiceChatPlugin(this); this.selectorBroadcaster = new BotSelectorBroadcasterPlugin(this); - this.chomeNSMod = new ChomeNSModIntegrationPlugin(this); this.auth = new AuthPlugin(this); // this.screenshare = new ScreensharePlugin(this); this.clearChatNameAnnouncer = new ClearChatNameAnnouncerPlugin(this); diff --git a/src/main/java/me/chayapak1/chomens_bot/plugins/CommandSuggestionPlugin.java b/src/main/java/me/chayapak1/chomens_bot/plugins/CommandSuggestionPlugin.java index d0f54fee..cb8dfec8 100644 --- a/src/main/java/me/chayapak1/chomens_bot/plugins/CommandSuggestionPlugin.java +++ b/src/main/java/me/chayapak1/chomens_bot/plugins/CommandSuggestionPlugin.java @@ -17,7 +17,7 @@ public class CommandSuggestionPlugin implements Listener { public CommandSuggestionPlugin (final Bot bot) { this.bot = bot; - this.id = bot.config.namespace + "_request_command_suggestions"; // chomens_bot_request_command_suggestion + this.id = bot.config.namespace + "_request_command_suggestion"; // chomens_bot_request_command_suggestion bot.listener.addListener(this); }