geforkt von Mirrors/Paper
Undeprecate Bed's tile entity interface (#7330)
Dieser Commit ist enthalten in:
Ursprung
004e444f9b
Commit
f0d198d6b2
@ -46,6 +46,36 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
*
|
||||
* @return an array containing all previous players
|
||||
*/
|
||||
diff --git a/src/main/java/org/bukkit/block/Bed.java b/src/main/java/org/bukkit/block/Bed.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/block/Bed.java
|
||||
+++ b/src/main/java/org/bukkit/block/Bed.java
|
||||
@@ -0,0 +0,0 @@ import org.bukkit.material.Colorable;
|
||||
|
||||
/**
|
||||
* Represents a captured state of a bed.
|
||||
- * @deprecated does not provide useful information beyond the material itself
|
||||
*/
|
||||
-@Deprecated
|
||||
-public interface Bed extends TileState, Colorable { }
|
||||
+// Paper start
|
||||
+// @Deprecated
|
||||
+public interface Bed extends TileState, Colorable {
|
||||
+
|
||||
+ @Override
|
||||
+ @org.jetbrains.annotations.NotNull org.bukkit.DyeColor getColor();
|
||||
+
|
||||
+ /**
|
||||
+ * <b>Unsupported</b>
|
||||
+ *
|
||||
+ * @throws UnsupportedOperationException not supported, set the block type
|
||||
+ */
|
||||
+ @Override
|
||||
+ @org.jetbrains.annotations.Contract("_ -> fail")
|
||||
+ @Deprecated(forRemoval = true)
|
||||
+ void setColor(@org.bukkit.UndefinedNullability("not supported") org.bukkit.DyeColor color);
|
||||
+// Paper end
|
||||
+}
|
||||
diff --git a/src/main/java/org/bukkit/entity/ArmorStand.java b/src/main/java/org/bukkit/entity/ArmorStand.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/entity/ArmorStand.java
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren