mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 14:57:35 +01:00
[ci skip] Fix typo (important)
This commit is contained in:
parent
4cdbb0c86c
commit
0f69290f07
@ -258,7 +258,7 @@ 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
|
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
|
--- a/src/main/java/net/minecraft/world/level/levelgen/structure/StructurePiece.java
|
||||||
+++ b/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 {
|
@@ -489,7 +489,7 @@ public abstract class StructurePiece {
|
||||||
@ -266,7 +266,7 @@ index 9b1d6cad982d85874fd7cedee730e5155dba8f80..507c0f1e92a5e1bfe2a64a6d125af935
|
|||||||
|
|
||||||
public static BoundingBox createBoundingBox(Stream<StructurePiece> pieces) {
|
public static BoundingBox createBoundingBox(Stream<StructurePiece> pieces) {
|
||||||
- Stream stream1 = pieces.map(StructurePiece::getBoundingBox);
|
- 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);
|
Objects.requireNonNull(stream1);
|
||||||
return (BoundingBox) BoundingBox.encapsulatingBoxes(stream1::iterator).orElseThrow(() -> {
|
return (BoundingBox) BoundingBox.encapsulatingBoxes(stream1::iterator).orElseThrow(() -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user