2020-05-06 11:48:49 +02:00
|
|
|
From 0000000000000000000000000000000000000000 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
|
2020-06-25 04:33:35 +02:00
|
|
|
index 72ec97f5dcdf0e181e75b28f4de19b307835cb02..863cdf7408cb6b42e7927505e34a2a93017e06ff 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
|
2020-06-25 04:33:35 +02:00
|
|
|
@@ -443,4 +443,13 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder
|
2018-04-01 01:30:41 +02:00
|
|
|
*/
|
|
|
|
@Deprecated
|
2019-03-20 01:28:15 +01:00
|
|
|
public void setShoulderEntityRight(@Nullable Entity entity);
|
2018-04-01 01:30:41 +02: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 01:28:15 +01:00
|
|
|
+ void openSign(@NotNull org.bukkit.block.Sign sign);
|
2018-04-01 01:30:41 +02:00
|
|
|
+ // Paper end
|
|
|
|
}
|