Get rid of UseItemOnHand, in ChatBot.cs, function called UseItemInHand already does this (Same function).

This commit is contained in:
CarbonNeuron 2020-05-03 10:48:02 -05:00
parent 799bc814c5
commit 7207a9ea0e

View file

@ -668,13 +668,7 @@ namespace MinecraftClient
{
return Handler.GetInventories();
}
/// <summary>
/// Use item in hand
/// </summary>
protected void UseItemInHand()
{
Handler.UseItemOnHand();
}
/// <summary>
/// start Sneaking
/// </summary>
@ -903,7 +897,7 @@ namespace MinecraftClient
/// Use item currently in the player's hand (active inventory bar slot)
/// </summary>
/// <returns></returns>
protected bool UseItemOnHand()
protected bool UseItemInHand()
{
return Handler.UseItemOnHand();
}