Fix decompile error affecting javac
This commit is contained in:
parent
ef7a4743d8
commit
f508657d64
@ -149,3 +149,12 @@
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
} else {
|
} 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(() -> {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user