From 2a82e16c613c9a1045a1a14e2fc0804275f04388 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 28 Oct 2017 16:13:28 +1100 Subject: [PATCH] SPIGOT-3609: Add additional notes to PlayerInteractAtEntityEvent By: md_5 --- .../org/bukkit/event/player/PlayerInteractAtEntityEvent.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractAtEntityEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractAtEntityEvent.java index de39245e19..431715de8e 100644 --- a/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractAtEntityEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/player/PlayerInteractAtEntityEvent.java @@ -9,6 +9,9 @@ import org.bukkit.util.Vector; /** * Represents an event that is called when a player right clicks an entity that * also contains the location where the entity was clicked. + *
+ * Note that the client may sometimes spuriously send this packet in addition to {@link PlayerInteractEntityEvent}. + * Users are advised to listen to this (parent) class unless specifically required. */ public class PlayerInteractAtEntityEvent extends PlayerInteractEntityEvent { private static final HandlerList handlers = new HandlerList();