mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 01:37:35 +01:00
Document PlayerInteractEvent's behavior for air
By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
parent
51e5b56524
commit
236a28293b
@ -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…
Reference in New Issue
Block a user