2019-04-23 04:47:07 +00:00
|
|
|
From c9bb7666691300ce29eac6f766a5fe2c434504fc Mon Sep 17 00:00:00 2001
|
2018-03-31 23:30:41 +00:00
|
|
|
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
|
2019-04-23 04:47:07 +00:00
|
|
|
index 037e2393..04f0e08f 100644
|
2018-03-31 23:30:41 +00:00
|
|
|
--- a/src/main/java/org/bukkit/entity/HumanEntity.java
|
|
|
|
+++ b/src/main/java/org/bukkit/entity/HumanEntity.java
|
2019-03-20 00:28:15 +00:00
|
|
|
@@ -465,4 +465,13 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder
|
2018-03-31 23:30:41 +00:00
|
|
|
*/
|
|
|
|
@Deprecated
|
2019-03-20 00:28:15 +00:00
|
|
|
public void setShoulderEntityRight(@Nullable Entity entity);
|
2018-03-31 23:30:41 +00:00
|
|
|
+
|
|
|
|
+ // Paper start - Add method to open already placed sign
|
|
|
|
+ /**
|
|
|
|
+ * Opens an editor window for the specified sign
|
|
|
|
+ *
|
|
|
|
+ * @param sign The sign to open
|
|
|
|
+ */
|
2019-03-20 00:28:15 +00:00
|
|
|
+ void openSign(@NotNull org.bukkit.block.Sign sign);
|
2018-03-31 23:30:41 +00:00
|
|
|
+ // Paper end
|
|
|
|
}
|
|
|
|
--
|
2019-03-20 00:28:15 +00:00
|
|
|
2.21.0
|
2018-03-31 23:30:41 +00:00
|
|
|
|