Fix decompile error affecting javac

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2023-10-02 19:43:59 +11:00
parent 6e2503b658
commit 88114a4558

View file

@ -149,3 +149,12 @@
return true;
} else {
@@ -432,7 +491,7 @@
}
public static StructureBoundingBox createBoundingBox(Stream<StructurePiece> stream) {
- Stream stream1 = stream.map(StructurePiece::getBoundingBox);
+ Stream<StructureBoundingBox> stream1 = stream.map(StructurePiece::getBoundingBox); // CraftBukkit - decompile error
Objects.requireNonNull(stream1);
return (StructureBoundingBox) StructureBoundingBox.encapsulatingBoxes(stream1::iterator).orElseThrow(() -> {