mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-06 11:57:10 +00:00
New PlayerActionPacket constants
This commit is contained in:
parent
28c3a882f8
commit
6a8976c534
@ -2280,6 +2280,8 @@ class Player extends Human implements CommandSender, InventoryHolder, ChunkLoade
|
||||
$this->setSneaking(false);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
assert(false, "Unhandled player action " . $packet->action . " from " . $this->getName());
|
||||
}
|
||||
|
||||
$this->startAction = -1;
|
||||
|
@ -42,6 +42,9 @@ class PlayerActionPacket extends DataPacket{
|
||||
const ACTION_STOP_SNEAK = 12;
|
||||
const ACTION_DIMENSION_CHANGE = 13; //TODO: correct these
|
||||
|
||||
const ACTION_START_GLIDE = 15;
|
||||
const ACTION_STOP_GLIDE = 16;
|
||||
|
||||
public $eid;
|
||||
public $action;
|
||||
public $x;
|
||||
|
Loading…
x
Reference in New Issue
Block a user