Merge pull request #11 from CovertJaguar/patch-1

Fixed a minor bug with the Minecart Dictionary.
This commit is contained in:
LexManos 2012-03-09 17:22:26 -08:00
commit cea259fab0
1 changed files with 1 additions and 5 deletions

View File

@ -781,11 +781,7 @@ public class MinecraftForge
*/ */
public static ItemStack getItemForCart(EntityMinecart cart) public static ItemStack getItemForCart(EntityMinecart cart)
{ {
if (cart.getClass() == EntityMinecart.class) return getItemForCart(cart.getClass(), cart.getMinecartType());
{
return getItemForCart(cart.getClass(), cart.getMinecartType());
}
return getItemForCart(cart.getClass(), 0);
} }
/** /**