summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main/java/org/bukkit/event/player/PlayerInteractEvent.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java b/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java
index 59567d99..b12382f4 100644
--- a/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java
+++ b/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java
@@ -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();