Paper/Spigot-API-Patches/0090-Add-method-to-open-already-placed-sign.patch

28 lines
912 B
Diff
Raw Normal View History

From c00df0fb555cd5271eec8c911fb1899020bc1a2a Mon Sep 17 00:00:00 2001
2018-04-01 01:30:41 +02: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 040562eb..b5ed8447 100644
2018-04-01 01:30:41 +02:00
--- a/src/main/java/org/bukkit/entity/HumanEntity.java
+++ b/src/main/java/org/bukkit/entity/HumanEntity.java
@@ -442,4 +442,13 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder
2018-04-01 01:30:41 +02:00
*/
@Deprecated
public void setShoulderEntityRight(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(org.bukkit.block.Sign sign);
+ // Paper end
}
--
2.20.1
2018-04-01 01:30:41 +02:00