Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Amend PlayerInteractAtEntityEvent javadoc for ArmorStands (#2309)
- Loading branch information
1 parent
8ecd433
commit edce538
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
Spigot-API-Patches/0184-Amend-PlayerInteractAtEntityEvent-javadoc-for-ArmorS.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
From c02f688da65316acf628b036b704966fa9bf8dfe 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 | ||
@@ -13,6 +13,9 @@ 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(); | ||
-- | ||
2.19.2 | ||
|