mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-07 04:17:07 +00:00
fix
This commit is contained in:
parent
1308cda5c2
commit
cf707e15c2
@ -556,8 +556,11 @@ class Item implements \JsonSerializable{
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when a player uses the item to interact with entity, for example by using a name tag.
|
* Called when a player uses the item to interact with entity, for example by using a name tag.
|
||||||
|
*
|
||||||
|
* @param Vector3 $clickVector The exact position of the click (absolute coordinates)
|
||||||
|
* @return bool whether some action took place
|
||||||
*/
|
*/
|
||||||
public function onInteractEntity(Player $player, Entity $entity, Vector3 $directionVector) : bool{
|
public function onInteractEntity(Player $player, Entity $entity, Vector3 $clickVector) : bool{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user