mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 01:46:04 +00:00
Fixed wrong InteractPacket constants
Thanks @thebigsmileXD
This commit is contained in:
@ -27,8 +27,10 @@ namespace pocketmine\network\protocol;
|
||||
class InteractPacket extends DataPacket{
|
||||
const NETWORK_ID = Info::INTERACT_PACKET;
|
||||
|
||||
const ACTION_LEFT_CLICK = 1;
|
||||
const ACTION_RIGHT_CLICK = 2;
|
||||
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;
|
||||
|
||||
public $action;
|
||||
|
Reference in New Issue
Block a user