From dce53e05b876e23aac4a2635dfeaf856fac9af15 Mon Sep 17 00:00:00 2001 From: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com> Date: Wed, 18 Dec 2024 19:37:10 +0100 Subject: [PATCH] fix bogged dropping shears instead of mushrooms --- .../net/minecraft/world/entity/monster/Bogged.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/patches/sources/net/minecraft/world/entity/monster/Bogged.java.patch b/paper-server/patches/sources/net/minecraft/world/entity/monster/Bogged.java.patch index a7203574ef..63ee02e6cb 100644 --- a/paper-server/patches/sources/net/minecraft/world/entity/monster/Bogged.java.patch +++ b/paper-server/patches/sources/net/minecraft/world/entity/monster/Bogged.java.patch @@ -54,7 +54,7 @@ + // Paper start - custom shear drops + private void spawnShearedMushrooms(ServerLevel level, ItemStack stack, java.util.List drops) { + this.forceDrops = true; // Paper - Add missing forceDrop toggles -+ drops.forEach(itemstack1 -> this.spawnAtLocation(level, stack, this.getBbHeight())); ++ drops.forEach(drop -> this.spawnAtLocation(level, drop, this.getBbHeight())); + this.forceDrops = false; // Paper - Add missing forceDrop toggles + // Paper end - custom shear drops }