Rename Action to EntityActionType, Apply Rename refactoring.

This commit is contained in:
CarbonNeuron 2020-05-03 11:21:34 -05:00
parent 222a552c88
commit 0cd7f2043b
5 changed files with 9 additions and 9 deletions

View file

@ -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