3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 12:30:06 +01:00
Paper/Spigot-API-Patches/0091-Add-method-to-open-already-placed-sign.patch

28 Zeilen
933 B
Diff

From ff1c8019060044851d060eb90f467f1b68506715 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 3adff676c..2d413d720 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
@@ -468,4 +468,13 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder
2018-04-01 01:30:41 +02:00
*/
@Deprecated
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
+ */
+ void openSign(@NotNull org.bukkit.block.Sign sign);
2018-04-01 01:30:41 +02:00
+ // Paper end
}
--
2.26.2
2018-04-01 01:30:41 +02:00