Add some constants to AnimatePacket

This commit is contained in:
Dylan K. Taylor
2017-07-31 16:03:34 +01:00
parent 17be06a56d
commit 0b47324fe3
3 changed files with 11 additions and 2 deletions

View File

@ -32,6 +32,10 @@ use pocketmine\Player;
class PlayerAnimationEvent extends PlayerEvent implements Cancellable{
public static $handlerList = null;
/**
* @deprecated This is dependent on the protocol and should not be here.
* Use the constants in {@link pocketmine\network\mcpe\protocol\AnimatePacket} instead.
*/
const ARM_SWING = 1;
/** @var int */