mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-24 17:22:55 +01:00
Document PlayerInteractEvent's behavior for air
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
parent
51e5b56524
commit
236a28293b
1 changed files with 3 additions and 0 deletions
|
@ -11,6 +11,9 @@ import org.bukkit.event.block.Action;
|
|||
|
||||
/**
|
||||
* Called when a player interacts with an object or air.
|
||||
* <p>
|
||||
* This event will fire as cancelled if the vanilla behavior
|
||||
* is to do nothing (e.g interacting with air)
|
||||
*/
|
||||
public class PlayerInteractEvent extends PlayerEvent implements Cancellable {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
|
|
Loading…
Add table
Reference in a new issue