Skip to content

Commit

Permalink
[ci skip] Fix typo (important)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytv committed Sep 29, 2023
1 parent 4cdbb0c commit 0f69290
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions patches/server/0006-MC-Dev-fixes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -258,15 +258,15 @@ index 69a19dbf58cde41680d086e78b9a12ffee602dbf..5dcb7f9cab097990148f5a7c4ccbe155
}
}
diff --git a/src/main/java/net/minecraft/world/level/levelgen/structure/StructurePiece.java b/src/main/java/net/minecraft/world/level/levelgen/structure/StructurePiece.java
index 9b1d6cad982d85874fd7cedee730e5155dba8f80..507c0f1e92a5e1bfe2a64a6d125af9353b3c67aa 100644
index 9b1d6cad982d85874fd7cedee730e5155dba8f80..f182528d693d1fea41ebc12ac55d9ed4033cbc7b 100644
--- a/src/main/java/net/minecraft/world/level/levelgen/structure/StructurePiece.java
+++ b/src/main/java/net/minecraft/world/level/levelgen/structure/StructurePiece.java
@@ -489,7 +489,7 @@ public abstract class StructurePiece {
}

public static BoundingBox createBoundingBox(Stream<StructurePiece> pieces) {
- Stream stream1 = pieces.map(StructurePiece::getBoundingBox);
+ Stream<BoundingBox> stream1 = pieces.map(StructurePiece::getBoundingBox); // Paper - decompile fx
+ Stream<BoundingBox> stream1 = pieces.map(StructurePiece::getBoundingBox); // Paper - decompile fix

Objects.requireNonNull(stream1);
return (BoundingBox) BoundingBox.encapsulatingBoxes(stream1::iterator).orElseThrow(() -> {

0 comments on commit 0f69290

Please sign in to comment.