mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-17 18:47:40 +01:00
Amend PlayerInteractAtEntityEvent javadoc for ArmorStands (#2309)
This commit is contained in:
parent
aead01a615
commit
68a4cc5c06
1 changed files with 21 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: simpleauthority <jacob@algorithmjunkie.com>
|
||||
Date: Thu, 11 Jul 2019 10:35:56 -0700
|
||||
Subject: [PATCH] Amend PlayerInteractAtEntityEvent javadoc for ArmorStands
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/event/player/PlayerInteractAtEntityEvent.java b/src/main/java/org/bukkit/event/player/PlayerInteractAtEntityEvent.java
|
||||
index 1075dbb8..3f24d302 100644
|
||||
--- a/src/main/java/org/bukkit/event/player/PlayerInteractAtEntityEvent.java
|
||||
+++ b/src/main/java/org/bukkit/event/player/PlayerInteractAtEntityEvent.java
|
||||
@@ -0,0 +0,0 @@ import org.jetbrains.annotations.NotNull;
|
||||
* <br>
|
||||
* 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.
|
||||
+ * <br>
|
||||
+ * Note that interacting with Armor Stands fires this event only and not its parent and as such users are expressly required
|
||||
+ * to listen to this event for that scenario.
|
||||
*/
|
||||
public class PlayerInteractAtEntityEvent extends PlayerInteractEntityEvent {
|
||||
private static final HandlerList handlers = new HandlerList();
|
||||
--
|
Loading…
Add table
Reference in a new issue