mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 18:45:54 +01:00
36f34f01c0
Upstream has released updates that appears to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: da9ef3c5 #496: Add methods to get/set ItemStacks in EquipmentSlots 3abebc9f #492: Let Tameable extend Animals rather than Entity 941111a0 #495: Expose ItemStack and hand used in PlayerShearEntityEvent 4fe19cae #494: InventoryView - Add missing Brewing FUEL_TIME CraftBukkit Changes:933e9094
#664: Add methods to get/set ItemStacks in EquipmentSlots18722312
#662: Expose ItemStack and hand used in PlayerShearEntityEvent
21 lines
1.2 KiB
Diff
21 lines
1.2 KiB
Diff
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 1075dbb8135d2fd2fd69d1e821dd1ba7f90824d5..3f24d302e28170f7f6e5885b5b9abb22cbbb7d66 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();
|