mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 14:12:20 -07:00
more compile fixes
This commit is contained in:
@@ -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
|
||||
+
|
||||
/**
|
||||
|
Reference in New Issue
Block a user