mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 04:32:11 -07:00
fix bogged dropping shears instead of mushrooms
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user