mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 12:43:52 -07:00
Implement BlockBreakEvent block experience. Adds BUKKIT-2033
This commit is contained in:
@@ -698,5 +698,9 @@ public class Block {
|
||||
public static int getDropData(Block block, int data) {
|
||||
return block.getDropData(data);
|
||||
}
|
||||
|
||||
public int getExpDrop(World world, int data, int enchantmentLevel) {
|
||||
return 0;
|
||||
}
|
||||
// CraftBukkit end
|
||||
}
|
||||
|
Reference in New Issue
Block a user