@@ -15,6 +15,15 @@
|
||||
}
|
||||
}
|
||||
|
||||
@@ -240,7 +246,7 @@
|
||||
|
||||
public void a(World world, EntityHuman entityhuman, BlockPosition blockposition, IBlockData iblockdata, @Nullable TileEntity tileentity, ItemStack itemstack) {
|
||||
entityhuman.b(StatisticList.BLOCK_MINED.b(this));
|
||||
- entityhuman.applyExhaustion(0.005F);
|
||||
+ entityhuman.applyExhaustion(0.005F, org.bukkit.event.entity.EntityExhaustionEvent.ExhaustionReason.BLOCK_MINED); // CraftBukkit - EntityExhaustionEvent
|
||||
dropItems(iblockdata, world, blockposition, tileentity, entityhuman, itemstack);
|
||||
}
|
||||
|
||||
@@ -336,6 +342,12 @@
|
||||
return this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user