mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-09 08:32:07 -07:00
Finish converting most of the undeprecated api to jspecify
This commit is contained in:
@@ -15,8 +15,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+import org.bukkit.block.BlockFace;
|
||||
+import org.bukkit.block.TileState;
|
||||
+import org.bukkit.block.data.BlockData;
|
||||
+import org.jetbrains.annotations.NotNull;
|
||||
+import org.jspecify.annotations.NullMarked;
|
||||
+
|
||||
+@NullMarked
|
||||
+public interface MovingPiston extends TileState {
|
||||
+
|
||||
+ /**
|
||||
@@ -24,7 +25,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ *
|
||||
+ * @return the pushed block
|
||||
+ */
|
||||
+ @NotNull
|
||||
+ BlockData getMovingBlock();
|
||||
+
|
||||
+ /**
|
||||
@@ -33,7 +33,6 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ *
|
||||
+ * @return the direction
|
||||
+ */
|
||||
+ @NotNull
|
||||
+ BlockFace getDirection();
|
||||
+
|
||||
+ /**
|
||||
|
Reference in New Issue
Block a user