more compile fixes

This commit is contained in:
Jake Potrebic
2023-06-08 13:56:13 -07:00
parent 180fe2a014
commit 957d248aff
24 changed files with 101 additions and 74 deletions

View File

@@ -19,9 +19,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ *
+ * @param blockChanges A map of the positions you want to change to their new block data
+ */
+ default void sendMultiBlockChange(@NotNull Map<? extends io.papermc.paper.math.Position, BlockData> blockChanges) {
+ this.sendMultiBlockChange(blockChanges, false);
+ }
+ void sendMultiBlockChange(@NotNull Map<? extends io.papermc.paper.math.Position, BlockData> blockChanges);
+
+ /**
+ * Send multiple block changes. This fakes a multi block change packet for each
@@ -29,8 +27,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ *
+ * @param blockChanges A map of the positions you want to change to their new block data
+ * @param suppressLightUpdates Whether to suppress light updates or not
+ * @deprecated suppressLightUpdates is no longer available in 1.20+, use {@link #sendMultiBlockChange(Map)}
+ */
+ void sendMultiBlockChange(@NotNull Map<? extends io.papermc.paper.math.Position, BlockData> blockChanges, boolean suppressLightUpdates);
+ @Deprecated
+ default void sendMultiBlockChange(@NotNull Map<? extends io.papermc.paper.math.Position, BlockData> blockChanges, boolean suppressLightUpdates) {
+ this.sendMultiBlockChange(blockChanges);
+ }
+ // Paper end
+
/**