13
0
geforkt von Mirrors/Paper

fix bogged dropping shears instead of mushrooms

Dieser Commit ist enthalten in:
Lulu13022002 2024-12-18 19:37:10 +01:00
Ursprung 6126012369
Commit dce53e05b8
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 491C8F0B8ACDEB01

Datei anzeigen

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