fix some more compile issues

This commit is contained in:
Jake Potrebic
2023-06-08 12:35:20 -07:00
parent b7b98b0bd8
commit 180fe2a014
10 changed files with 38 additions and 19 deletions

View File

@@ -17,8 +17,20 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ * Opens an editor window for the specified sign
+ *
+ * @param sign The sign to open
+ * @deprecated use {@link #openSign(org.bukkit.block.Sign, org.bukkit.block.sign.Side)}
+ */
+ void openSign(@NotNull org.bukkit.block.Sign sign);
+ @Deprecated
+ default void openSign(@NotNull org.bukkit.block.Sign sign) {
+ this.openSign(sign, org.bukkit.block.sign.Side.FRONT);
+ }
+
+ /**
+ * Opens an editor window for the specified sign
+ *
+ * @param sign The sign to open
+ * @param side The side of the sign to open
+ */
+ void openSign(org.bukkit.block.@NotNull Sign sign, org.bukkit.block.sign.@NotNull Side side);
+ // Paper end
/**
@@ -35,4 +47,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ * The Sign must be in the same world as the player.
*
* @param sign The sign to edit
+ * @deprecated use {@link #openSign(Sign, Side))}
*/
+ @Deprecated
public void openSign(@NotNull Sign sign);
/**