mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-26 01:32:02 -07:00
fix some more compile issues
This commit is contained in:
@@ -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);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user