mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-14 11:31:51 +01:00
Fix decompile error affecting javac
By: md_5 <git@md-5.net>
This commit is contained in:
parent
6e2503b658
commit
88114a4558
@ -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…
Reference in New Issue
Block a user