mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Get rid of UseItemOnHand in using chatbots, replace with UseItemInHand
This commit is contained in:
parent
7207a9ea0e
commit
c5a19f4b8b
2 changed files with 3 additions and 3 deletions
|
|
@ -83,7 +83,7 @@ namespace MinecraftClient.ChatBots
|
|||
}
|
||||
}
|
||||
}
|
||||
if (found) UseItemOnHand();
|
||||
if (found) UseItemInHand();
|
||||
return found;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ namespace MinecraftClient.ChatBots
|
|||
{
|
||||
LogToConsole(GetTimestamp() + ": Caught a fish!");
|
||||
// retract fishing rod
|
||||
UseItemOnHand();
|
||||
UseItemInHand();
|
||||
if (inventoryEnabled)
|
||||
{
|
||||
if (!hasFishingRod())
|
||||
|
|
@ -110,7 +110,7 @@ namespace MinecraftClient.ChatBots
|
|||
// retract fishing rod need some time
|
||||
Thread.Sleep(800);
|
||||
// throw again
|
||||
UseItemOnHand();
|
||||
UseItemInHand();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue