mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 15:00:13 +01:00
fix bogged dropping shears instead of mushrooms
This commit is contained in:
parent
6126012369
commit
dce53e05b8
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@
|
||||||
+ // Paper start - custom shear drops
|
+ // Paper start - custom shear drops
|
||||||
+ private void spawnShearedMushrooms(ServerLevel level, ItemStack stack, java.util.List<ItemStack> drops) {
|
+ private void spawnShearedMushrooms(ServerLevel level, ItemStack stack, java.util.List<ItemStack> drops) {
|
||||||
+ this.forceDrops = true; // Paper - Add missing forceDrop toggles
|
+ 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
|
+ this.forceDrops = false; // Paper - Add missing forceDrop toggles
|
||||||
+ // Paper end - custom shear drops
|
+ // Paper end - custom shear drops
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue