Document PlayerInteractEvent's behavior for air

By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
Bukkit/Spigot 2015-02-12 14:06:51 +00:00
parent 51e5b56524
commit 236a28293b

View File

@ -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();