testserver/Spigot-API-Patches/0091-Add-method-to-open-alr...

28 lines
933 B
Diff
Raw Normal View History

From b8f823a3d39e1cc99f25b85485225d9f1e8c980c 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
index 5b5fb3034..cdbac95bb 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-05-06 02:58:04 +00:00
@@ -458,4 +458,13 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder
2018-03-31 23:30:41 +00:00
*/
@Deprecated
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
+ */
+ void openSign(@NotNull org.bukkit.block.Sign sign);
2018-03-31 23:30:41 +00:00
+ // Paper end
}
--
2.25.1
2018-03-31 23:30:41 +00:00