mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-23 11:26:37 +00:00
UseItemOnEntityTransactionData: added missing type
This commit is contained in:
parent
89260d788c
commit
4b5f279a3e
@ -31,6 +31,7 @@ use pocketmine\network\mcpe\protocol\types\NetworkInventoryAction;
|
|||||||
class UseItemOnEntityTransactionData extends TransactionData{
|
class UseItemOnEntityTransactionData extends TransactionData{
|
||||||
public const ACTION_INTERACT = 0;
|
public const ACTION_INTERACT = 0;
|
||||||
public const ACTION_ATTACK = 1;
|
public const ACTION_ATTACK = 1;
|
||||||
|
public const ACTION_ITEM_INTERACT = 2;
|
||||||
|
|
||||||
/** @var int */
|
/** @var int */
|
||||||
private $entityRuntimeId;
|
private $entityRuntimeId;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user