mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-01 20:50:41 +01:00
e4d10a6d67
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: 122289ff Add FaceAttachable interface to handle Grindstone facing in common with Switches a6db750e SPIGOT-5647: ZombieVillager entity should have getVillagerType() CraftBukkit Changes:bbe3d58e
SPIGOT-5650: Lectern.setPage(int) causes a NullPointerException3075579f
Add FaceAttachable interface to handle Grindstone facing in common with Switches95bd4238
SPIGOT-5647: ZombieVillager entity should have getVillagerType()4d975ac3
SPIGOT-5617: setBlockData does not work when NotPlayEvent is called by redstone current
23 lines
1.2 KiB
Diff
23 lines
1.2 KiB
Diff
From c8ae0845a779a94befaec9e77421948b612a47fa 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 1075dbb81..3f24d302e 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.25.1
|
|
|