summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThinkofdeath <thinkofdeath@spigotmc.org>2015-02-12 14:06:51 +0000
committerThinkofdeath <thinkofdeath@spigotmc.org>2015-02-12 14:06:51 +0000
commitbe1f87c5718732294c2318fbd2a2d6b2f072ef21 (patch)
tree686fd20d19b54f25d0466a7163362e975dbc7c37
parent5bfe821f3d561d1063e1cff344a9a31dac7000b8 (diff)
downloadbukkit-be1f87c5718732294c2318fbd2a2d6b2f072ef21.tar
bukkit-be1f87c5718732294c2318fbd2a2d6b2f072ef21.tar.gz
bukkit-be1f87c5718732294c2318fbd2a2d6b2f072ef21.tar.lz
bukkit-be1f87c5718732294c2318fbd2a2d6b2f072ef21.tar.xz
bukkit-be1f87c5718732294c2318fbd2a2d6b2f072ef21.zip
Document PlayerInteractEvent's behavior for air
-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();