diff --git a/leaves-server/minecraft-patches/features/0124-Tripwire-behavior-modifier.patch b/leaves-server/minecraft-patches/features/0124-Tripwire-behavior-modifier.patch index 089308fc..c5dfaba8 100644 --- a/leaves-server/minecraft-patches/features/0124-Tripwire-behavior-modifier.patch +++ b/leaves-server/minecraft-patches/features/0124-Tripwire-behavior-modifier.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Tripwire behavior modifier diff --git a/net/minecraft/world/level/levelgen/feature/EndPlatformFeature.java b/net/minecraft/world/level/levelgen/feature/EndPlatformFeature.java -index dfe8b815987a0ee385846616e4845428a81f2782..1c13fc84a50afdafcb68a068a2d19404f90fecc5 100644 +index dfe8b815987a0ee385846616e4845428a81f2782..63bbee85d18537760c876cdab5bcac5798bf918b 100644 --- a/net/minecraft/world/level/levelgen/feature/EndPlatformFeature.java +++ b/net/minecraft/world/level/levelgen/feature/EndPlatformFeature.java @@ -28,14 +28,40 @@ public class EndPlatformFeature extends Feature { @@ -64,13 +64,12 @@ index dfe8b815987a0ee385846616e4845428a81f2782..1c13fc84a50afdafcb68a068a2d19404 + blockList.placeBlocks(); + } } else { -- blockList.placeBlocks(); + if (dropBlocks) { + blockList.getSnapshotBlocks().forEach((state) -> { + level.destroyBlock(state.getPosition(), !blockList1.contains(state.getPosition()), null); -+ state.update(); + }); + } + blockList.placeBlocks(); } // CraftBukkit end }