mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
Add some constants to AnimatePacket
This commit is contained in:
@ -1187,7 +1187,7 @@ class Player extends Human implements CommandSender, ChunkLoader, IPlayer{
|
||||
|
||||
$pk = new AnimatePacket();
|
||||
$pk->entityRuntimeId = $this->id;
|
||||
$pk->action = 3; //Wake up
|
||||
$pk->action = AnimatePacket::ACTION_STOP_SLEEP;
|
||||
$this->dataPacket($pk);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user