From 88114a45589ccff51052be09726d722bbf3ea5b5 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Mon, 2 Oct 2023 19:43:59 +1100 Subject: [PATCH] Fix decompile error affecting javac By: md_5 --- .../world/level/levelgen/structure/StructurePiece.patch | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/paper-server/nms-patches/net/minecraft/world/level/levelgen/structure/StructurePiece.patch b/paper-server/nms-patches/net/minecraft/world/level/levelgen/structure/StructurePiece.patch index 4518405ac6..290d5b21c9 100644 --- a/paper-server/nms-patches/net/minecraft/world/level/levelgen/structure/StructurePiece.patch +++ b/paper-server/nms-patches/net/minecraft/world/level/levelgen/structure/StructurePiece.patch @@ -149,3 +149,12 @@ return true; } else { +@@ -432,7 +491,7 @@ + } + + public static StructureBoundingBox createBoundingBox(Stream stream) { +- Stream stream1 = stream.map(StructurePiece::getBoundingBox); ++ Stream stream1 = stream.map(StructurePiece::getBoundingBox); // CraftBukkit - decompile error + + Objects.requireNonNull(stream1); + return (StructureBoundingBox) StructureBoundingBox.encapsulatingBoxes(stream1::iterator).orElseThrow(() -> {