mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-03 17:52:28 +01:00
Fix decompile error affecting javac
By: md_5 <git@md-5.net>
This commit is contained in:
parent
6e2503b658
commit
88114a4558
1 changed files with 9 additions and 0 deletions
|
@ -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(() -> {
|
||||
|
|
Loading…
Reference in a new issue