fix bogged dropping shears instead of mushrooms

This commit is contained in:
Lulu13022002
2024-12-18 19:37:10 +01:00
parent 6126012369
commit dce53e05b8

View File

@@ -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
}