geforkt von Mirrors/Paper
fix bogged dropping shears instead of mushrooms
Dieser Commit ist enthalten in:
Ursprung
6126012369
Commit
dce53e05b8
@ -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
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren