From 7207a9ea0e267e7a2d33ff22b40be5ffa6d19414 Mon Sep 17 00:00:00 2001 From: CarbonNeuron Date: Sun, 3 May 2020 10:48:02 -0500 Subject: [PATCH] Get rid of UseItemOnHand, in ChatBot.cs, function called UseItemInHand already does this (Same function). --- MinecraftClient/ChatBot.cs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/MinecraftClient/ChatBot.cs b/MinecraftClient/ChatBot.cs index 77e5196e..3fe03ff3 100644 --- a/MinecraftClient/ChatBot.cs +++ b/MinecraftClient/ChatBot.cs @@ -668,13 +668,7 @@ namespace MinecraftClient { return Handler.GetInventories(); } - /// - /// Use item in hand - /// - protected void UseItemInHand() - { - Handler.UseItemOnHand(); - } + /// /// start Sneaking /// @@ -903,7 +897,7 @@ namespace MinecraftClient /// Use item currently in the player's hand (active inventory bar slot) /// /// - protected bool UseItemOnHand() + protected bool UseItemInHand() { return Handler.UseItemOnHand(); }