aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLulu13022002 <[email protected]>2024-12-18 19:37:10 +0100
committerLulu13022002 <[email protected]>2024-12-18 19:37:10 +0100
commitdce53e05b876e23aac4a2635dfeaf856fac9af15 (patch)
treea4c9460fb50a8be4c76cafe0a81f85b69025fd2c
parent6126012369a8a1d59a2bd091f7a270e90585b181 (diff)
downloadPaper-dce53e05b876e23aac4a2635dfeaf856fac9af15.tar.gz
Paper-dce53e05b876e23aac4a2635dfeaf856fac9af15.zip
fix bogged dropping shears instead of mushrooms
-rw-r--r--paper-server/patches/sources/net/minecraft/world/entity/monster/Bogged.java.patch2
1 files changed, 1 insertions, 1 deletions
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<ItemStack> 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
}