Make HorseInventory.getType() return the proper value