Fix decompile error affecting javac

This commit is contained in:
md_5 2023-10-02 19:43:59 +11:00
parent ef7a4743d8
commit f508657d64
No known key found for this signature in database
GPG Key ID: E8E901AC7C617C11

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(() -> {