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