mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 05:03:55 -07:00
[Bleeding] Fixed blocks dropping when BlockBreakEvent is canceled. Fixes BUKKIT-1299
This commit is contained in:
@@ -564,7 +564,7 @@ public class Block {
|
||||
} else {
|
||||
int i1 = EnchantmentManager.getBonusBlockLootEnchantmentLevel(entityhuman.inventory);
|
||||
|
||||
this.b(world, i, j, k, l, i1);
|
||||
this.dropNaturally(world, i, j, k, l, 1.0F, i1); // CraftBukkit
|
||||
}
|
||||
return this.dropList; // CraftBukkit
|
||||
}
|
||||
|
Reference in New Issue
Block a user