mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-09 11:31:49 +00:00
PlayerInteractEvent: updated documentation
This commit is contained in:
parent
858024afb7
commit
a67aef0477
@ -31,7 +31,8 @@ use pocketmine\math\Vector3;
|
|||||||
use pocketmine\player\Player;
|
use pocketmine\player\Player;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Called when a player interacts or touches a block (including air?)
|
* Called when a player interacts or touches a block.
|
||||||
|
* This is called for both left click (start break) and right click (use).
|
||||||
*/
|
*/
|
||||||
class PlayerInteractEvent extends PlayerEvent implements Cancellable{
|
class PlayerInteractEvent extends PlayerEvent implements Cancellable{
|
||||||
use CancellableTrait;
|
use CancellableTrait;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user