MinecraftPortCentral/CraftBukkit — pull request #11 by smbarbour (2012-08-17 04:58:17+00:00)
Title: Separate checks for powered carts and those with an inventory

Custom minecarts (like the Railcraft TBM) can be both powered and have an inventory. This change separates the checks to handle the appropriate NBT data if they are both.

(Sidenote: the equivalent change appears to have been made already in the Forge source patches)