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
No known key found for this signature in database
GPG key ID: 491C8F0B8ACDEB01

View file

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