mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Get rid of UseItemOnHand, in ChatBot.cs, function called UseItemInHand already does this (Same function).
This commit is contained in:
parent
799bc814c5
commit
7207a9ea0e
1 changed files with 2 additions and 8 deletions
|
|
@ -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();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue