From 236a28293baa28fa8814ebdbfe51201d3123b3d0 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 12 Feb 2015 14:06:51 +0000 Subject: [PATCH] Document PlayerInteractEvent's behavior for air By: Thinkofdeath --- .../main/java/org/bukkit/event/player/PlayerInteractEvent.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java index 59567d997f..b12382f402 100644 --- a/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractEvent.java +++ b/paper-api/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. + *

+ * 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();