mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Document PlayerInteractEvent's behavior for air
This commit is contained in:
parent
5bfe821f3d
commit
be1f87c571
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.
|
* 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 {
|
public class PlayerInteractEvent extends PlayerEvent implements Cancellable {
|
||||||
private static final HandlerList handlers = new HandlerList();
|
private static final HandlerList handlers = new HandlerList();
|
||||||
|
|
Loading…
Add table
Reference in a new issue