2021-06-11 14:02:28 +02:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Mark Vainomaa <mikroskeem@mikroskeem.eu>
|
|
|
|
Date: Sun, 1 Apr 2018 02:28:43 +0300
|
|
|
|
Subject: [PATCH] Add method to open already placed sign
|
|
|
|
|
|
|
|
|
|
|
|
diff --git a/src/main/java/org/bukkit/entity/HumanEntity.java b/src/main/java/org/bukkit/entity/HumanEntity.java
|
2021-06-13 07:13:07 +02:00
|
|
|
index f748e3d3836df4da76fa883a51b9582bc31a4f8c..a46cefbb0508c192fdfefd685c7ad3973bb9c0c9 100644
|
2021-06-11 14:02:28 +02:00
|
|
|
--- a/src/main/java/org/bukkit/entity/HumanEntity.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/HumanEntity.java
|
2021-06-13 07:13:07 +02:00
|
|
|
@@ -471,6 +471,14 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder
|
2021-06-11 14:02:28 +02:00
|
|
|
*/
|
|
|
|
@Deprecated
|
|
|
|
public void setShoulderEntityRight(@Nullable Entity entity);
|
|
|
|
+ // Paper start - Add method to open already placed sign
|
|
|
|
+ /**
|
|
|
|
+ * Opens an editor window for the specified sign
|
|
|
|
+ *
|
|
|
|
+ * @param sign The sign to open
|
|
|
|
+ */
|
|
|
|
+ void openSign(@NotNull org.bukkit.block.Sign sign);
|
|
|
|
+ // Paper end
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Make the entity drop the item in their hand.
|