From d8afda34fb4276b28446f7578b7291c1ee3ff9e4 Mon Sep 17 00:00:00 2001 From: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com> Date: Mon, 17 Aug 2020 23:39:07 +0800 Subject: [PATCH] Fix AutoDrop being loaded when inventory handling is disabled --- MinecraftClient/ChatBots/AutoDrop.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/MinecraftClient/ChatBots/AutoDrop.cs b/MinecraftClient/ChatBots/AutoDrop.cs index 8b9650d6..b5045e7b 100644 --- a/MinecraftClient/ChatBots/AutoDrop.cs +++ b/MinecraftClient/ChatBots/AutoDrop.cs @@ -141,6 +141,7 @@ namespace MinecraftClient.ChatBots { LogToConsole("Inventory handling is disabled. Unloading..."); UnloadBot(); + return; } RegisterChatBotCommand("autodrop", "AutoDrop ChatBot command", CommandHandler); RegisterChatBotCommand("ad", "AutoDrop ChatBot command alias", CommandHandler);