mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Rename SendAction to SendEntityAction in ChatBot.cs
This commit is contained in:
parent
add1dd2dcd
commit
a78623bf84
1 changed files with 2 additions and 2 deletions
|
|
@ -674,12 +674,12 @@ namespace MinecraftClient
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected bool Sneak(bool on)
|
protected bool Sneak(bool on)
|
||||||
{
|
{
|
||||||
return SendAction(on ? Protocol.ActionType.StartSneaking : Protocol.ActionType.StopSneaking);
|
return SendEntityAction(on ? Protocol.ActionType.StartSneaking : Protocol.ActionType.StopSneaking);
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Send Entity Action
|
/// Send Entity Action
|
||||||
/// </summary>
|
/// </summary>
|
||||||
private bool SendAction(Protocol.ActionType action)
|
private bool SendEntityAction(Protocol.ActionType action)
|
||||||
{
|
{
|
||||||
return Handler.sendEntityAction(action);
|
return Handler.sendEntityAction(action);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue