From 249442b4352e401d4bf92c7a6c07d201ff3307b9 Mon Sep 17 00:00:00 2001 From: ReinforceZwei <39955851+ReinforceZwei@users.noreply.github.com> Date: Mon, 17 Aug 2020 17:28:38 +0800 Subject: [PATCH] Fix ChangeSlot command What a joke --- MinecraftClient/Commands/ChangeSlot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MinecraftClient/Commands/ChangeSlot.cs b/MinecraftClient/Commands/ChangeSlot.cs index a9f0061e..a1419a4b 100644 --- a/MinecraftClient/Commands/ChangeSlot.cs +++ b/MinecraftClient/Commands/ChangeSlot.cs @@ -12,7 +12,7 @@ namespace MinecraftClient.Commands public override string Run(McClient handler, string command, Dictionary localVars) { - if (!handler.GetTerrainEnabled()) + if (!handler.GetInventoryEnabled()) return "Please enable InventoryHandling in the config file first."; if (hasArg(command))