Bukkit/CraftBukkit — pull request #1327 by Aaron1011 (2014-01-26 13:26:57+00:00)
Title: [B+C] Add getDamage method to Boat. Fixes BUKKIT-5325

#### The Issue:

The Boat entity is missing the getDamage and method found on the Minecart entity.

#### Justification for this PR:

The `getDamage` method should be exposed through Bukkit, to allow plugin authors to get the damage on Boats, just like Minecarts.

#### PR Breakdown:

This PR adds the methods `getDamage` method to the Boat entity, which calls the `getDamage` method on the corresponding `EntityBoat` instance.

#### Testing Results and Materials:

I've created a small plugin called BoatTester, which you can download [here](https://www.dropbox.com/s/yuh8k1so03b1995/BoatTester.jar). Load the plugin, then repeatedly left-lick on a boat in Survival mode. Messages will appear in the chat, informing you of the current damage.
#### Relevant PR:

B-

#### JIRA Ticket:

BUKKIT-5325 - https://bukkit.atlassian.net/browse/BUKKIT-5325