mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-07 18:32:55 +00:00
Better InteractPacket handling and added ACTION_MOUSEOVER constant
This commit is contained in:
@ -30,11 +30,9 @@ class InteractPacket extends DataPacket{
|
||||
const ACTION_RIGHT_CLICK = 1;
|
||||
const ACTION_LEFT_CLICK = 2;
|
||||
const ACTION_LEAVE_VEHICLE = 3;
|
||||
/** @deprecated Do NOT use this. This constant is misleading and will be removed in the future */
|
||||
const ACTION_JUMP = 3;
|
||||
const ACTION_MOUSEOVER = 4;
|
||||
|
||||
public $action;
|
||||
public $eid;
|
||||
public $target;
|
||||
|
||||
public function decode(){
|
||||
|
Reference in New Issue
Block a user